version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.12 2000/05/26 09:50:49 jec Exp $"; | | * "$Id: spell_util.c,v 1.13 2000/05/26 11:05:45 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
tmp=arch_to_object(at); | | tmp=arch_to_object(at); |
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; |