version 1.160 | | version 1.161 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.160 2006/08/12 14:52:15 gros Exp $"; | | * "$Id: spell_effect.c,v 1.161 2006/08/21 05:18:00 qal21 Exp $"; |
*/ | | */ |
| | |
| | |
| | |
free_object(head); | | free_object(head); |
} else switch(head->type) { | | } else switch(head->type) { |
case SPELL_EFFECT: | | case SPELL_EFFECT: |
if(op->level > head->level) { | | if((op->level > head->level) && !op->food && !op->speed_left) { |
remove_ob(head); | | remove_ob(head); |
free_object(head); | | free_object(head); |
} | | } |