Difference for server/monster.c from version 1.101 to 1.102


version 1.101 version 1.102
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.101 2006/06/01 18:59:13 tchize Exp $";   *    "$Id: monster.c,v 1.102 2006/09/17 05:34:39 qal21 Exp $";
  */   */
   
 /*  /*
Line 1663
 
Line 1663
   
     cp = find_matching_message(op, override->msg, txt);      cp = find_matching_message(op, override->msg, txt);
     if (cp) {      if (cp) {
         sprintf(buf,"%s says:",query_name(npc));          npc_say(npc, cp);
      new_info_map(NDI_NAVY|NDI_UNIQUE, npc->map,buf);  
      new_info_map(NDI_NAVY | NDI_UNIQUE, npc->map, cp);  
         quest_apply_items(override,op->contr);          quest_apply_items(override,op->contr);
      free(cp);       free(cp);
         return 1;          return 1;
Line 1673
 
Line 1671
     return 0;      return 0;
 }  }
   
   void npc_say(object *npc, char *cp) {
       char buf[MAX_BUF];
       sprintf(buf,"%s says: %s",query_name(npc),cp);
       new_info_map(NDI_NAVY|NDI_UNIQUE, npc->map,buf);
   }
   
 static int talk_to_npc(object *op, object *npc, const char *txt) {  static int talk_to_npc(object *op, object *npc, const char *txt) {
     object *cobj;      object *cobj;
   


Legend:
line(s) removed in v.1.101 
line(s) changed
 line(s) added in v.1.102

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