From 449d374837d845c7a8b78bf38695b511f23fe340 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Sep 2018 05:25:40 +0300 Subject: Fix name response packets for manaplus with packet version 24 or older. --- src/emap/init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/emap/init.c') 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); -- cgit v1.2.3-70-g09d2