Difference for server/c_misc.c from version 1.20 to 1.21


version 1.20 version 1.21
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_misc_c =   * static char *rcsid_c_misc_c =
  *   "$Id: c_misc.c,v 1.20 2002/09/07 21:41:20 mwedel Exp $";   *   "$Id: c_misc.c,v 1.21 2002/09/28 07:19:40 mwedel Exp $";
  */   */
   
 /*  /*
Line 59
 
Line 59
     else strcpy(map_path, m->path + strlen(m->path) - 18);      else strcpy(map_path, m->path + strlen(m->path) - 18);
 #ifndef MAP_RESET  #ifndef MAP_RESET
       sprintf(buf,"%-18.18s %2ld %2d   %1ld %4ld %2ld",        sprintf(buf,"%-18.18s %2ld %2d   %1ld %4ld %2ld",
               map_path, m->players,players_on_map(m),m->in_memory,m->timeout,                map_path, m->players,players_on_map(m,FALSE),m->in_memory,m->timeout,
               m->difficulty);                m->difficulty);
 #else  #else
       sprintf(buf,"%-18.18s %2d %2d   %1d %4d %2d  %02d:%02d:%02d",        sprintf(buf,"%-18.18s %2d %2d   %1d %4d %2d  %02d:%02d:%02d",
               map_path, m->players,players_on_map(m),                map_path, m->players,players_on_map(m,FALSE),
               m->in_memory,m->timeout,m->difficulty,                m->in_memory,m->timeout,m->difficulty,
        (MAP_WHEN_RESET(m)%86400)/3600,(MAP_WHEN_RESET(m)%3600)/60,         (MAP_WHEN_RESET(m)%86400)/3600,(MAP_WHEN_RESET(m)%3600)/60,
               MAP_WHEN_RESET(m)%60);                MAP_WHEN_RESET(m)%60);
Line 265
 
Line 265
     for(pl=first_player;pl!=NULL;pl=pl->next) {      for(pl=first_player;pl!=NULL;pl=pl->next) {
  if(pl->ob->map == NULL)   if(pl->ob->map == NULL)
      continue;       continue;
    if (pl->hidden) continue;
   
  if (pl->state==ST_PLAYING || pl->state==ST_GET_PARTY_PASSWORD) {   if (pl->state==ST_PLAYING || pl->state==ST_GET_PARTY_PASSWORD) {
   
      /* Any reason one sprintf can't be used?  The are displaying all       /* Any reason one sprintf can't be used?  The are displaying all


Legend:
line(s) removed in v.1.20 
line(s) changed
 line(s) added in v.1.21

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