Index: map/guild.c
===================================================================
--- map/guild.c (revision 17100)
+++ map/guild.c (working copy)
@@ -1970,8 +1970,15 @@
*---------------------------------------------------*/
void guild_agit_start(void)
{ // Run All NPC_Event[OnAgitStart]
+ struct s_mapiterator* iter;
+ struct map_session_data* sd;
+
int c = npc_event_doall("OnAgitStart");
ShowStatus("NPC_Event:[OnAgitStart] Run (%d) Events by @AgitStart.\n",c);
+
+ iter = mapit_getallusers();
+ for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) )
+ clif_soundeffectall(&sd->bl, "woe.wav", 0, SELF);
}
/*====================================================
@@ -1979,8 +1986,15 @@
*---------------------------------------------------*/
void guild_agit_end(void)
{ // Run All NPC_Event[OnAgitEnd]
+ struct s_mapiterator* iter;
+ struct map_session_data* sd;
+
int c = npc_event_doall("OnAgitEnd");
ShowStatus("NPC_Event:[OnAgitEnd] Run (%d) Events by @AgitEnd.\n",c);
+
+ iter = mapit_getallusers();
+ for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) )
+ clif_soundeffectall(&sd->bl, "woe.wav", 0, SELF);
}
/*====================================================