Difference for server/c_misc.c from version 1.43 to 1.44


version 1.43 version 1.44
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_misc_c =   * static char *rcsid_c_misc_c =
  *   "$Id: c_misc.c,v 1.43 2004/10/18 02:20:00 temitchell Exp $";   *   "$Id: c_misc.c,v 1.44 2004/10/18 03:07:06 temitchell Exp $";
  */   */
   
 /*  /*
Line 251
 
Line 251
  if (pl->state==ST_PLAYING || pl->state==ST_GET_PARTY_PASSWORD) {   if (pl->state==ST_PLAYING || pl->state==ST_GET_PARTY_PASSWORD) {
   
      if(op == NULL || QUERY_FLAG(op, FLAG_WIZ)){       if(op == NULL || QUERY_FLAG(op, FLAG_WIZ)){
  (void) sprintf(namebuf,"%s the %s:",pl->ob->name,   (void) sprintf(namebuf,"%s the %s%s%s:",
         (pl->own_title[0]=='\0'?pl->title:pl->own_title));       pl->ob->name,
  (void) sprintf(buf,"Level %d (@%s) [%s]%s%s%s (%d)",       (pl->own_title[0]=='\0'?pl->title:pl->own_title),
     pl->ob->level,              pl->peaceful?" [Peaceful]":" [Hostile]",
     pl->socket.host,  
         pl->ob->map->path,  
         QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"",          QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"",
         pl->hidden?"[HID]":"",       pl->hidden?" [HID]":"");
         pl->peaceful?"Peaceful":"Hostile",pl->ob->count);   (void) sprintf(buf," Level %d [%s](@%s)(%d)",
      }else{       pl->ob->level,      
  (void) sprintf(namebuf,"%s the %s:",pl->ob->name,  
         (pl->own_title[0]=='\0'?pl->title:pl->own_title));  
  sprintf(buf,"[%s]%s%s",  
         pl->ob->map->path,          pl->ob->map->path,
         QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"",       pl->socket.host,
         pl->peaceful?"Peaceful":"Hostile");}       pl->ob->count);
        }
        else{
    (void) sprintf(namebuf,"%s the %s%s%s:",
        pl->ob->name,
        (pl->own_title[0]=='\0'?pl->title:pl->own_title),
        pl->peaceful?" [Peaceful]":" [Hostile]",
        QUERY_FLAG(pl->ob,FLAG_WIZ)?" [WIZ]":"");
    (void) sprintf(buf," [%s]",
        pl->ob->map->path);
        }
  new_draw_info(NDI_UNIQUE, 0, op, namebuf);   new_draw_info(NDI_UNIQUE, 0, op, namebuf);
      new_draw_info(NDI_UNIQUE, 0,op,buf);       new_draw_info(NDI_UNIQUE, 0,op,buf);
  }   }


Legend:
line(s) removed in v.1.43 
line(s) changed
 line(s) added in v.1.44

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