diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-07 16:08:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-07 16:08:07 +0300 |
commit | 6e565a64b6a89e943c95e5b001aadd38727abe01 (patch) | |
tree | d75167bd37fb30336d1145203b0d040f7c7d215f /src/map/init.c | |
parent | 20e70d1846ba39599255887bef5098583a7586c9 (diff) | |
download | plugin-6e565a64b6a89e943c95e5b001aadd38727abe01.tar.gz plugin-6e565a64b6a89e943c95e5b001aadd38727abe01.tar.bz2 plugin-6e565a64b6a89e943c95e5b001aadd38727abe01.tar.xz plugin-6e565a64b6a89e943c95e5b001aadd38727abe01.zip |
map: translate server to client text messages.
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index 7635e67..e2834ca 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -36,6 +36,7 @@ #include "common/config.h" #include "common/init.h" +#include "map/atcommand.h" #include "map/clif.h" #include "map/itemdb.h" #include "map/lang.h" @@ -119,6 +120,8 @@ HPExport void plugin_init (void) addPacket(0xb14, 3, map_parse_homun_emote, hpClif_Parse); addPacket(0xb15, 9, map_parse_homun_dir, hpClif_Parse); + addHookPre("atcommand->msgfd", eatcommand_msgfd); + addHookPre("atcommand->msgsd", eatcommand_msgsd); addHookPre("pc->readparam", epc_readparam_pre); addHookPre("pc->setregistry", epc_setregistry); addHookPre("pc->equipitem_pos", epc_equipitem_pos); |