version 1.92 | | version 1.93 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.92 2002/09/01 06:32:31 mwedel Exp $"; | | * "$Id: player.c,v 1.93 2002/09/02 07:04:15 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(item->stats.food<=0) { | | if(item->stats.food<=0) { |
play_sound_player_only(op->contr, SOUND_WAND_POOF,0,0); | | play_sound_player_only(op->contr, SOUND_WAND_POOF,0,0); |
new_draw_info_format(NDI_UNIQUE, 0,op,"The %s goes poof.", query_base_name(item, 0)); | | new_draw_info_format(NDI_UNIQUE, 0,op,"The %s goes poof.", query_base_name(item, 0)); |
| | return; |
} | | } |
} else if (item->type == ROD || item->type==HORN) { | | } else if (item->type == ROD || item->type==HORN) { |
if(item->stats.hp<spells[item->stats.sp].sp) { | | if(item->stats.hp<spells[item->stats.sp].sp) { |