Follow up r16733 also the remaining fix for bugreport:6572, making onagitinit be run on reload to refresh the flag's emblems

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16734 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-09-02 17:51:29 +00:00
parent dd130860d3
commit 390e6cdf92

View File

@ -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"));