Difference for server/c_chat.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_chat_c =   * static char *rcsid_c_chat_c =
  *   "$Id: c_chat.c,v 1.18 2004/11/09 07:44:24 mwedel Exp $";   *   "$Id: c_chat.c,v 1.19 2004/12/25 18:09:29 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 434
 
Line 434
      break;       break;
  } /*case*/   } /*case*/
  new_info_map_except(NDI_WHITE, op->map, op, buf);   new_info_map_except(NDI_WHITE, op->map, op, buf);
  new_draw_info(NDI_UNIQUE, 0, op, buf2);   new_draw_info(NDI_UNIQUE|NDI_WHITE, 0, op, buf2);
  return(0);   return(0);
     } else {      } else {
         for(pl=first_player;pl!=NULL;pl=pl->next) {          for(pl=first_player;pl!=NULL;pl=pl->next) {
      if(strncasecmp(pl->ob->name, params, MAX_NAME)==0 &&       if(strncasecmp(pl->ob->name, params, MAX_NAME)==0 &&
         pl->ob->map == op->map && pl->ob != op) {              pl->ob->map == op->map && pl->ob != op &&
               !(QUERY_FLAG(pl->ob,FLAG_WIZ) && pl->ob->contr->hidden)) {
               /* Hidden dms are not affected by emotions*/
  switch(emotion) {   switch(emotion) {
  case EMOTE_NOD:   case EMOTE_NOD:
      sprintf(buf, "You nod solemnly to %s.", pl->ob->name);       sprintf(buf, "You nod solemnly to %s.", pl->ob->name);
Line 626
 
Line 628
    op->name);     op->name);
    break;     break;
  } /*case*/   } /*case*/
  new_draw_info(NDI_UNIQUE, 0, op, buf);   new_draw_info(NDI_UNIQUE|NDI_WHITE, 0, op, buf);
  new_draw_info(NDI_UNIQUE|NDI_WHITE, 0, pl->ob, buf2);   new_draw_info(NDI_UNIQUE|NDI_WHITE, 0, pl->ob, buf2);
  new_info_map_except2(NDI_WHITE, op->map, op, pl->ob, buf3);   new_info_map_except2(NDI_WHITE, op->map, op, pl->ob, buf3);
  return(0);   return(0);
Line 740
 
Line 742
      sprintf(buf2, "You look away from %s.", op->name);       sprintf(buf2, "You look away from %s.", op->name);
      break;       break;
  }/*case*/   }/*case*/
  new_draw_info(NDI_UNIQUE, 0, op, buf);   new_draw_info(NDI_UNIQUE|NDI_WHITE, 0, op, buf);
  new_info_map_except(NDI_WHITE, op->map, op, buf2);   new_info_map_except(NDI_WHITE, op->map, op, buf2);
  return(0);   return(0);
      }/*if self*/       }/*if self*/


Legend:
line(s) removed in v.1.18 
line(s) changed
 line(s) added in v.1.19

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