From 2fbf69ebe75abceb55a66b62bfd4220d3833108d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 29 Nov 2014 01:07:45 +0300 Subject: Set default npc gender to 3 (no gender). --- src/map/init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/init.c') 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"); } -- cgit v1.2.3-60-g2f50