version 1.15 | | version 1.16 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.15 2000/05/26 09:50:49 jec Exp $"; | | * "$Id: spell_effect.c,v 1.16 2000/05/26 11:05:45 jec Exp $"; |
*/ | | */ |
| | |
| | |
| | |
/* if animated by a player, give the player control of the golem */ | | /* if animated by a player, give the player control of the golem */ |
if(op->type==PLAYER) { | | if(op->type==PLAYER) { |
CLEAR_FLAG(tmp, FLAG_MONSTER); | | CLEAR_FLAG(tmp, FLAG_MONSTER); |
| | SET_FLAG(tmp, FLAG_FRIENDLY); |
tmp->stats.exp=0; | | tmp->stats.exp=0; |
add_friendly_object(tmp); | | add_friendly_object(tmp); |
tmp->type=GOLEM; | | tmp->type=GOLEM; |