Difference for common/map.c from version 1.47 to 1.48


version 1.47 version 1.48
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.47 2002/11/08 08:50:44 garbled Exp $";   *   "$Id: map.c,v 1.48 2002/11/26 08:57:55 garbled Exp $";
  */   */
   
 /*  /*
Line 1770
 
Line 1770
   
   
 void set_map_reset_time(mapstruct *map) {  void set_map_reset_time(mapstruct *map) {
 #ifdef MAP_RESET  
 #ifdef MAP_MAXRESET  
     if (MAP_RESET_TIMEOUT(map)>MAP_MAXRESET)      if (MAP_RESET_TIMEOUT(map)>MAP_MAXRESET)
         MAP_WHEN_RESET(map) = seconds() + MAP_MAXRESET;          MAP_WHEN_RESET(map) = seconds() + MAP_MAXRESET;
     else      else
 #endif /* MAP_MAXRESET */  
     MAP_WHEN_RESET(map) = seconds() + MAP_RESET_TIMEOUT (map);      MAP_WHEN_RESET(map) = seconds() + MAP_RESET_TIMEOUT (map);
 #else  
     MAP_WHEN_RESET(map) = (-1); /* Will never be reset */  
 #endif  
 }  }
   
 /* this updates the orig_map->tile_map[tile_num] value after loading  /* this updates the orig_map->tile_map[tile_num] value after loading


Legend:
line(s) removed in v.1.47 
line(s) changed
 line(s) added in v.1.48

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