* Fixed whispering to NPCs (::OnWhisperGlobal) not working for NPCs whose unique name is different from the display name (bugreport:4776, since r2624).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14723 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei 2011-02-23 20:14:45 +00:00
parent 261a46ae4e
commit 824b3f8a47
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Date Added Date Added
2011/02/23
* Fixed whispering to NPCs (::OnWhisperGlobal) not working for NPCs whose unique name is different from the display name (bugreport:4776, since r2624). [Ai4rei]
2011/02/20 2011/02/20
* Fixed SP regen not stopping when Maximize Power (BS_MAXIMIZE) is in effect. [Ai4rei] * Fixed SP regen not stopping when Maximize Power (BS_MAXIMIZE) is in effect. [Ai4rei]
* Fixed missing </File> end-tag in VC8 map-server sql project file (since r14713). [Ai4rei] * Fixed missing </File> end-tag in VC8 map-server sql project file (since r14713). [Ai4rei]

View File

@ -9200,7 +9200,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
set_var(sd,output,(char *) split_data[i]); set_var(sd,output,(char *) split_data[i]);
} }
sprintf(output, "%s::OnWhisperGlobal", npc->name); sprintf(output, "%s::OnWhisperGlobal", npc->exname);
npc_event(sd,output,0); // Calls the NPC label npc_event(sd,output,0); // Calls the NPC label
return; return;