Difference for common/anim.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * 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 $";
  */   */
   
 /*  /*
Line 202
 
Line 202
   
     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);
Line 213
 
Line 217
      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);
   


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:04