Difference for common/map.c from version 1.41 to 1.42


version 1.41 version 1.42
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.41 2002/09/07 05:55:18 mwedel Exp $";   *   "$Id: map.c,v 1.42 2002/09/16 04:07:42 mwedel Exp $";
  */   */
   
 /*  /*
Line 355
 
Line 355
      */       */
     for(tmp = GET_MAP_OB(m,x,y); tmp!= NULL; tmp = tmp->above) {      for(tmp = GET_MAP_OB(m,x,y); tmp!= NULL; tmp = tmp->above) {
   
  if (QUERY_FLAG(tmp,FLAG_NO_PASS) || (QUERY_FLAG(tmp,FLAG_ALIVE) &&  
       tmp->head != ob && tmp != ob && tmp->type != DOOR))  
  return 1;  
   
  /* This must be before the checks below.  Code for inventory checkers. */   /* This must be before the checks below.  Code for inventory checkers. */
  if (tmp->type==CHECK_INV && QUERY_FLAG(tmp,FLAG_NO_PASS)) {   if (tmp->type==CHECK_INV && QUERY_FLAG(tmp,FLAG_NO_PASS)) {
      /* If last_sp is set, the player/monster needs an object,       /* If last_sp is set, the player/monster needs an object,
Line 380
 
Line 376
      continue;       continue;
      }       }
  } /* if check_inv */   } /* if check_inv */
    else if (QUERY_FLAG(tmp,FLAG_NO_PASS) || (QUERY_FLAG(tmp,FLAG_ALIVE) &&
         tmp->head != ob && tmp != ob && tmp->type != DOOR))
    return 1;
   
     }      }
     return 0;      return 0;
 }  }


Legend:
line(s) removed in v.1.41 
line(s) changed
 line(s) added in v.1.42

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