version 1.105 | | version 1.106 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.105 2002/11/26 08:48:20 garbled Exp $"; | | * "$Id: player.c,v 1.106 2002/11/30 04:17:41 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
} | | } |
| | |
if(cast_spell(op,item,dir,op->contr->chosen_item_spell,0,spellMisc,NULL)) { | | if(cast_spell(op,item,dir,item->stats.sp,0,spellMisc,NULL)) { |
SET_FLAG(op, FLAG_BEEN_APPLIED); /* You now know something about it */ | | SET_FLAG(op, FLAG_BEEN_APPLIED); /* You now know something about it */ |
if (item->type == WAND) { | | if (item->type == WAND) { |
if (!(--item->stats.food)) { | | if (!(--item->stats.food)) { |