summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-02-23 20:14:45 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-02-23 20:14:45 +0000
commit8fdc11ce3e6db27667df3f4e4676fc28ed61c97d (patch)
treecef0741d8118995e9bb58faff080f57bfd09170f /src
parente84b8b7f9b5eb3860f798b67a28b52ce6b7106ae (diff)
downloadhercules-8fdc11ce3e6db27667df3f4e4676fc28ed61c97d.tar.gz
hercules-8fdc11ce3e6db27667df3f4e4676fc28ed61c97d.tar.bz2
hercules-8fdc11ce3e6db27667df3f4e4676fc28ed61c97d.tar.xz
hercules-8fdc11ce3e6db27667df3f4e4676fc28ed61c97d.zip
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14723 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 02c5736e2..d405ee81c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9200,7 +9200,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
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
return;