summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-20 22:07:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-20 22:07:43 +0300
commitb69fb47e606ff06ada9b530ae46a76abbb374fe6 (patch)
tree0120b7329d1deb9e37fa462bf45b90e5f2f93b39 /src/map/init.c
parent1e4d12ba21b978216ba6732cf4774b58a14ebb24 (diff)
downloadevol-hercules-b69fb47e606ff06ada9b530ae46a76abbb374fe6.tar.gz
evol-hercules-b69fb47e606ff06ada9b530ae46a76abbb374fe6.tar.bz2
evol-hercules-b69fb47e606ff06ada9b530ae46a76abbb374fe6.tar.xz
evol-hercules-b69fb47e606ff06ada9b530ae46a76abbb374fe6.zip
Fix languages initialisation.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index b87c62d..502e5b3 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -36,6 +36,7 @@
#include "common/interfaces.h"
#include "map/clif.h"
#include "map/dummy.h"
+#include "map/lang.h"
#include "map/npc.h"
#include "map/parse.h"
#include "map/script.h"
@@ -78,6 +79,8 @@ HPExport void plugin_init (void)
// must be replaced to misceffect
addScriptCommand("misceffect2", "i*", dummy);
+ do_init_langs();
+
addPacket(0x7530, 22, map_parse_version, hpClif_Parse);
addHookPre("pc->readparam", epc_readparam_pre);
addHookPre("pc->setregistry", epc_setregistry);
@@ -143,4 +146,5 @@ HPExport void server_online (void)
HPExport void plugin_final (void)
{
+ do_final_langs();
}