Difference for common/treasure.c from version 1.17 to 1.18


version 1.17 version 1.18
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.17 2001/06/23 12:59:22 gros Exp $";   *   "$Id: treasure.c,v 1.18 2001/07/14 04:04:53 mwedel Exp $";
  */   */
   
 /*  /*
Line 271
 
Line 271
     if (flags & GT_ENVIRONMENT) {      if (flags & GT_ENVIRONMENT) {
         op->x = creator->x;          op->x = creator->x;
         op->y = creator->y;          op->y = creator->y;
         insert_ob_in_map_simple (op, creator->map);          insert_ob_in_map (op, creator->map,op,INS_NO_MERGE | INS_NO_WALK_ON);
     } else {      } else {
         op = insert_ob_in_ob (op, creator);          op = insert_ob_in_ob (op, creator);
         if ((flags & GT_APPLY) && QUERY_FLAG (creator, FLAG_MONSTER))          if ((flags & GT_APPLY) && QUERY_FLAG (creator, FLAG_MONSTER))
Line 1165
 
Line 1165
     SET_FLAG(op,FLAG_XRAYS);      SET_FLAG(op,FLAG_XRAYS);
   if (QUERY_FLAG(change,FLAG_BLIND))    if (QUERY_FLAG(change,FLAG_BLIND))
     SET_FLAG(op,FLAG_BLIND);      SET_FLAG(op,FLAG_BLIND);
 #ifdef USE_LIGHTING  
   if (QUERY_FLAG(change,FLAG_SEE_IN_DARK))    if (QUERY_FLAG(change,FLAG_SEE_IN_DARK))
     SET_FLAG(op,FLAG_SEE_IN_DARK);      SET_FLAG(op,FLAG_SEE_IN_DARK);
 #endif  
   if (QUERY_FLAG(change,FLAG_REFL_MISSILE))    if (QUERY_FLAG(change,FLAG_REFL_MISSILE))
     SET_FLAG(op,FLAG_REFL_MISSILE);      SET_FLAG(op,FLAG_REFL_MISSILE);
   if (QUERY_FLAG(change,FLAG_MAKE_INVIS))    if (QUERY_FLAG(change,FLAG_MAKE_INVIS))


Legend:
line(s) removed in v.1.17 
line(s) changed
 line(s) added in v.1.18

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