version 1.38 | | version 1.39 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.38 2001/11/13 08:14:26 mwedel Exp $"; | | * "$Id: monster.c,v 1.39 2001/11/19 23:30:28 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
for(j=0; msgs->keywords[i][j]; j++) | | for(j=0; msgs->keywords[i][j]; j++) |
if(msgs->keywords[i][j][0] == '*' || re_cmp(txt,msgs->keywords[i][j])) { | | if(msgs->keywords[i][j][0] == '*' || re_cmp(txt,msgs->keywords[i][j])) { |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
sprintf(buf,"The %s says:",query_name(npc)); | | sprintf(buf,"%s says:",query_name(npc)); /* We want more unique NPCS */ |
| | /* "The <unique name> says ...." looks bad */ |
new_info_map(NDI_NAVY|NDI_UNIQUE, npc->map,buf); | | new_info_map(NDI_NAVY|NDI_UNIQUE, npc->map,buf); |
new_info_map(NDI_NAVY | NDI_UNIQUE, npc->map, msgs->messages[i]); | | new_info_map(NDI_NAVY | NDI_UNIQUE, npc->map, msgs->messages[i]); |
free_messages(msgs); | | free_messages(msgs); |