version 1.76 | | version 1.77 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.76 2005/04/18 07:14:38 mwedel Exp $"; | | * "$Id: monster.c,v 1.77 2005/05/15 20:03:34 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return 0; | | return 0; |
} | | } |
if (spell_item->type == SPELLBOOK) { | | if (spell_item->type == SPELLBOOK) { |
spell_item=spell_item->inv; | | if (!spell_item->inv) { |
if (spell_item->inv) { | | LOG(llevError,"spellbook %s does not contain a spell?\n", spell_item->name); |
LOG(llevError,"spellbook %s does contain a spell?\n", spell_item->name); | | return 0; |
} else | | } |
spell_item=spell_item->inv; | | spell_item=spell_item->inv; |
} | | } |
} | | } |