version 1.50 | | version 1.51 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.50 2001/05/12 00:10:11 mardahl Exp $"; | | * "$Id: spell_util.c,v 1.51 2001/05/12 04:04:19 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
success = cast_speedball(op,dir,type); | | success = cast_speedball(op,dir,type); |
break; | | break; |
case SP_POLYMORPH: | | case SP_POLYMORPH: |
success = 0; /*cast_polymorph(op,dir); */ | | #ifdef NO_POLYMORPH |
| | /* Not great, but at least provide feedback so if players do have |
| | * polymorph (ie, find it as a preset item or left over from before |
| | * it was disabled), they get some feedback. |
| | */ |
| | new_draw_info(NDI_UNIQUE, 0,op,"The spell fizzles"); |
| | success = 0; |
| | #else |
| | success = 0 = cast_polymorph(op,dir); |
| | #endif |
break; | | break; |
case SP_CHARGING: | | case SP_CHARGING: |
success = recharge(op); | | success = recharge(op); |