Difference for common/treasure.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.10 2001/04/21 01:22:43 mardahl Exp $";   *   "$Id: treasure.c,v 1.11 2001/04/25 07:46:57 mardahl Exp $";
  */   */
   
 /*  /*
Line 1173
 
Line 1173
     SET_FLAG(op,FLAG_MAKE_INVIS);       SET_FLAG(op,FLAG_MAKE_INVIS);
   if (QUERY_FLAG(change,FLAG_STAND_STILL)) {    if (QUERY_FLAG(change,FLAG_STAND_STILL)) {
     CLEAR_FLAG(op,FLAG_ANIMATE);      CLEAR_FLAG(op,FLAG_ANIMATE);
     op->speed = 0.0;      /*op->speed = 0.0; */  /* why was this done? */
     update_ob_speed(op);      update_ob_speed(op);
   }    }
   if(change->nrof) op->nrof=RANDOM()%((int) change->nrof) + 1;    if(change->nrof) op->nrof=RANDOM()%((int) change->nrof) + 1;


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

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