Difference for server/main.c from version 1.65 to 1.66


version 1.65 version 1.66
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.65 2002/09/07 22:08:07 mwedel Exp $";   *    "$Id: main.c,v 1.66 2002/09/28 07:19:40 mwedel Exp $";
  */   */
   
 /*  /*
Line 274
 
Line 274
     remove_ob(op);      remove_ob(op);
   
     if (oldmap) {      if (oldmap) {
    if (!op->contr->hidden)
  oldmap->players--;   oldmap->players--;
  if (oldmap->players <= 0) { /* can be less than zero due to errors in tracking this */   if (oldmap->players <= 0) { /* can be less than zero due to errors in tracking this */
      set_map_timeout(oldmap);       set_map_timeout(oldmap);
Line 356
 
Line 357
     GlobalEvent(&CFP);      GlobalEvent(&CFP);
 #endif  #endif
   
       if (!op->contr->hidden)
     newmap->players++;      newmap->players++;
   
     newmap->timeout=0;      newmap->timeout=0;
     op->enemy = NULL;      op->enemy = NULL;
   
Line 748
 
Line 750
     if(enough_elapsed_time()) {      if(enough_elapsed_time()) {
  for(map=first_map;map!=NULL;map=map->next) {   for(map=first_map;map!=NULL;map=map->next) {
      if(map->in_memory == MAP_IN_MEMORY) {       if(map->in_memory == MAP_IN_MEMORY) {
  if(players_on_map(map))   if(players_on_map(map,TRUE))
      process_events(map);       process_events(map);
      }       }
  }   }


Legend:
line(s) removed in v.1.65 
line(s) changed
 line(s) added in v.1.66

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