summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-25 05:25:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-25 05:25:40 +0300
commit449d374837d845c7a8b78bf38695b511f23fe340 (patch)
treec16a2361751db5c6eeacca9725aace120d34d1a3 /src/emap/init.c
parentd15e6bce81b6728f98f1bd4b33d8a10cc4a020e1 (diff)
downloadevol-hercules-449d374837d845c7a8b78bf38695b511f23fe340.tar.gz
evol-hercules-449d374837d845c7a8b78bf38695b511f23fe340.tar.bz2
evol-hercules-449d374837d845c7a8b78bf38695b511f23fe340.tar.xz
evol-hercules-449d374837d845c7a8b78bf38695b511f23fe340.zip
Fix name response packets for manaplus with packet version 24 or older.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index c670dd4..75da76e 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -17,6 +17,7 @@
#include "common/strlib.h"
#include "common/timer.h"
#include "map/achievement.h"
+#include "map/battle.h"
#include "map/channel.h"
#include "map/chat.h"
#include "map/chrif.h"
@@ -254,6 +255,7 @@ HPExport void plugin_init (void)
addHookPre(clif, quest_send_list, eclif_quest_send_list_pre);
addHookPre(clif, quest_add, eclif_quest_add_pre);
addHookPre(clif, charnameack, eclif_charnameack_pre);
+ addHookPre(clif, charnameupdate, eclif_charnameupdate_pre);
addHookPre(clif, getareachar_item, eclif_getareachar_item_pre);
addHookPre(clif, dropflooritem, eclif_dropflooritem_pre);
addHookPre(clif, disp_message, eclif_disp_message_pre);