version 1.18 | | version 1.19 |
---|
| | |
/* | | /* |
* static char *rcsid_living_c = | | * static char *rcsid_living_c = |
* "$Id: living.c,v 1.18 2000/12/27 07:53:33 cvs Exp $"; | | * "$Id: living.c,v 1.19 2001/01/01 23:00:57 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(op->type==PLAYER | | if(op->type==PLAYER |
#ifdef ALLOW_SKILLS /* The meaning of stats in skill or experience objects is different - | | #ifdef ALLOW_SKILLS /* The meaning of stats in skill or experience objects is different - |
* we use them solely to link skills to experience, thus it is | | * we use them solely to link skills to experience, thus it is |
* inappropriate to allow these applied objects to change stats */ | | * inappropriate to allow these applied objects to change stats. |
&& tmp->type!=EXPERIENCE | | * An exception is exp_wis, containing info about god-properties! */ |
| | && (tmp->type!=EXPERIENCE || !strcmp(tmp->arch->name, "experience_wis")) |
#endif | | #endif |
) { | | ) { |
for(i=0;i<7;i++) | | for(i=0;i<7;i++) |