diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-25 05:25:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-25 05:25:40 +0300 |
commit | 449d374837d845c7a8b78bf38695b511f23fe340 (patch) | |
tree | c16a2361751db5c6eeacca9725aace120d34d1a3 /src/emap/init.c | |
parent | d15e6bce81b6728f98f1bd4b33d8a10cc4a020e1 (diff) | |
download | plugin-449d374837d845c7a8b78bf38695b511f23fe340.tar.gz plugin-449d374837d845c7a8b78bf38695b511f23fe340.tar.bz2 plugin-449d374837d845c7a8b78bf38695b511f23fe340.tar.xz plugin-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.c | 2 |
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); |