version 1.99 | | version 1.100 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.99 2005/10/16 08:48:30 ryo_saeba Exp $"; | | * "$Id: spell_util.c,v 1.100 2005/10/28 19:08:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
int success=0,mflags, cast_level=0, old_shoottype; | | int success=0,mflags, cast_level=0, old_shoottype; |
object *skill=NULL; | | object *skill=NULL; |
| | |
if (op->contr) old_shoottype = op->contr->shoottype; | | old_shoottype = op->contr ? op->contr->shoottype : 0; |
| | |
if (!spell_ob) { | | if (!spell_ob) { |
LOG(llevError,"cast_spell: null spell object passed\n"); | | LOG(llevError,"cast_spell: null spell object passed\n"); |