Difference for server/c_chat.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_chat_c =   * static char *rcsid_c_chat_c =
  *   "$Id: c_chat.c,v 1.15 2003/07/28 05:19:35 ketche Exp $";   *   "$Id: c_chat.c,v 1.16 2003/11/07 19:01:30 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 147
 
Line 147
   
     snprintf(buf,MAX_BUF-1, "%s tells you: %s",op->name, msg);      snprintf(buf,MAX_BUF-1, "%s tells you: %s",op->name, msg);
   
     for(pl=first_player;pl!=NULL;pl=pl->next)      pl = find_player_partial_name( name );
  if(strncasecmp(pl->ob->name,name,MAX_NAME)==0) {  
   
       if ( pl )
           {
      new_draw_info(NDI_UNIQUE | NDI_ORANGE, 0, pl->ob, buf);       new_draw_info(NDI_UNIQUE | NDI_ORANGE, 0, pl->ob, buf);
      new_draw_info_format(NDI_UNIQUE | NDI_ORANGE, 0, op,        new_draw_info_format(NDI_UNIQUE | NDI_ORANGE, 0, op,
       "You tell %s: %s", name, msg);        "You tell %s: %s", pl->ob->name, msg);
   
      /* Update last_tell value [mids 01/14/2002] */       /* Update last_tell value [mids 01/14/2002] */
      strcpy(pl->last_tell, op->name);       strcpy(pl->last_tell, op->name);
      return 1;       return 1;
  }   }
     new_draw_info(NDI_UNIQUE, 0,op,"No such player.");  
       new_draw_info(NDI_UNIQUE, 0,op,"No such player or ambiguous name.");
     return 1;      return 1;
 }  }
   


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

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