version 1.45 | | version 1.46 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.45 2003/12/20 16:13:40 ryo_saeba Exp $"; | | * "$Id: skills.c,v 1.46 2004/01/16 07:52:51 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
} | | } |
| | |
if (newscroll->inv) { | | if (newscroll->inv) { |
remove_ob(newscroll->inv); | | object *ninv; |
free_object(newscroll->inv); | | |
| | ninv = newscroll->inv; |
| | remove_ob(ninv); |
| | free_object(ninv); |
} | | } |
tmp = get_object(); | | tmp = get_object(); |
copy_object(chosen_spell, tmp); | | copy_object(chosen_spell, tmp); |