version 1.106 | | version 1.107 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.106 2003/09/13 05:02:13 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.107 2003/10/12 03:59:46 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
| | |
int cast_bless(object *op,object *caster,object *spell_ob, int dir) { | | int cast_bless(object *op,object *caster,object *spell_ob, int dir) { |
int i; | | int i; |
object *god = find_god(determine_god(op)), *tmp2, *force, *tmp; | | object *god = find_god(determine_god(op)), *tmp2, *force=NULL, *tmp; |
| | |
/* if dir = 99 op defaults to tmp, eat_special_food() requires this. */ | | /* if dir = 99 op defaults to tmp, eat_special_food() requires this. */ |
if(dir!=0) { | | if(dir!=0) { |