summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-05-10 01:36:18 -0300
committerpanikon <panikon@zoho.com>2014-05-10 01:36:18 -0300
commita2dec941492c9b7e56e3e34600e3fba9937cbf65 (patch)
treeb7fa54d2d8736e355efd8a0738a453f1417a4cbf /src/map/map.c
parent6d4ae7670d0acca504d17d27b5c971be6625a311 (diff)
downloadhercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.tar.gz
hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.tar.bz2
hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.tar.xz
hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.zip
Small changes in npc loading/reloading
Compartmentalized npc file processing Corrected event initalisation order in npc_reload Changed loading order, now item db constants are loaded before npc processing in order to avoid labels overwriting constants values, like Aegis Names Added information regarding reloading scripts in /doc/script_commands.txt
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index bccb51d7e..0d6445021 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -5832,7 +5832,7 @@ int do_init(int argc, char *argv[])
exit(EXIT_SUCCESS);
}
- npc->event_do_oninit(); // Init npcs (OnInit)
+ npc->event_do_oninit( false ); // Init npcs (OnInit)
npc->market_fromsql(); /* after OnInit */
if (battle_config.pk_mode)