version 1.177 | | version 1.178 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.177 2005/09/25 02:15:45 cavesomething Exp $"; | | * "$Id: player.c,v 1.178 2005/10/01 17:46:05 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return; | | return; |
| | |
case range_magic: /* Casting spells */ | | case range_magic: /* Casting spells */ |
spellcost=cast_spell(op,op,dir,op->contr->ranges[range_magic],NULL); | | spellcost=(cast_spell(op,op,dir,op->contr->ranges[range_magic],op->contr->spellparam[0]?op->contr->spellparam:NULL)); |
return; | | return; |
| | |
case range_misc: | | case range_misc: |