From a2dec941492c9b7e56e3e34600e3fba9937cbf65 Mon Sep 17 00:00:00 2001 From: panikon Date: Sat, 10 May 2014 01:36:18 -0300 Subject: 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 --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.c') 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) -- cgit v1.2.3-70-g09d2