summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-29 01:07:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-29 01:07:45 +0300
commit2fbf69ebe75abceb55a66b62bfd4220d3833108d (patch)
tree831447a229257b7a04b62e905d535d38dee2027d /src/map/init.c
parent99875f9bf3b221ff507e507eeb9f50f4313c32b7 (diff)
downloadevol-hercules-2fbf69ebe75abceb55a66b62bfd4220d3833108d.tar.gz
evol-hercules-2fbf69ebe75abceb55a66b62bfd4220d3833108d.tar.bz2
evol-hercules-2fbf69ebe75abceb55a66b62bfd4220d3833108d.tar.xz
evol-hercules-2fbf69ebe75abceb55a66b62bfd4220d3833108d.zip
Set default npc gender to 3 (no gender).
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 361f019..bb3d80a 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -38,9 +38,10 @@
#include "map/lang.h"
#include "map/npc.h"
#include "map/parse.h"
-#include "map/script.h"
#include "map/pc.h"
#include "map/quest.h"
+#include "map/script.h"
+#include "map/status.h"
#include "../../../common/HPMDataCheck.h" /* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */
@@ -101,6 +102,7 @@ HPExport void plugin_init (void)
addHookPost("clif->getareachar_unit", eclif_getareachar_unit_post);
addHookPost("clif->authok", eclif_authok_post);
addHookPost("clif->changemap", eclif_changemap_post);
+ addHookPost("status->set_viewdata", estatus_set_viewdata_post);
langScriptId = script->add_str("Lang");
}