version 1.15 | | version 1.16 |
---|
| | |
/* | | /* |
* static char *rcsid_anim_c = | | * static char *rcsid_anim_c = |
* "$Id: anim.c,v 1.15 2003/05/26 05:28:55 mwedel Exp $"; | | * "$Id: anim.c,v 1.16 2003/09/13 05:01:26 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
if(op->face==blank_face) | | if(op->face==blank_face) |
op->invisible=1; | | op->invisible=1; |
#if 1 | | |
/* Anyone know what this code here is for? MSW 980503 */ | | /* This block covers monsters (eg, pixies) which are supposed to |
else if(QUERY_FLAG((&op->arch->clone),FLAG_ALIVE)) { | | * cycle from visible to invisible and back to being visible. |
| | * as such, disable it for players, as then players would become |
| | * visible. |
| | */ |
| | else if(op->type != PLAYER && QUERY_FLAG((&op->arch->clone),FLAG_ALIVE)) { |
if(op->face->number==0) { | | if(op->face->number==0) { |
op->invisible=1; | | op->invisible=1; |
CLEAR_FLAG(op, FLAG_ALIVE); | | CLEAR_FLAG(op, FLAG_ALIVE); |
| | |
SET_FLAG(op, FLAG_ALIVE); | | SET_FLAG(op, FLAG_ALIVE); |
} | | } |
} | | } |
#endif | | |
if(op->more) | | if(op->more) |
animate_object(op->more, dir); | | animate_object(op->more, dir); |
| | |