summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/npc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 9a36e5815..8d63f09c4 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3630,6 +3630,10 @@ int npc_reload(void) {
//Re-read the NPC Script Events cache.
npc_read_event_script();
+ /* refresh guild castle flags on both woe setups */
+ npc_event_doall("OnAgitInit");
+ npc_event_doall("OnAgitInit2");
+
//Execute the OnInit event for freshly loaded npcs. [Skotlex]
ShowStatus("Event '"CL_WHITE"OnInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n",npc_event_doall("OnInit"));