From d7c0fe9fc39565a4df20de61f6b642884b90d0e6 Mon Sep 17 00:00:00 2001 From: Malcrom Date: Sat, 23 Nov 2013 00:10:27 -0330 Subject: Scriting/Eversong Woods: Minor fix. --- src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp b/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp index 529458ab9cf..f7d57b5bb0d 100644 --- a/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp +++ b/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp @@ -84,7 +84,6 @@ public: { CAST_AI(npc_apprentice_mirveda::npc_apprentice_mirvedaAI, creature->AI())->me->setFaction(FACTION_COMBAT); CAST_AI(npc_apprentice_mirveda::npc_apprentice_mirvedaAI, creature->AI())->me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER); - CAST_AI(npc_apprentice_mirveda::npc_apprentice_mirvedaAI, creature->AI())->events.ScheduleEvent(EVENT_SUMMON, 1000); CAST_AI(npc_apprentice_mirveda::npc_apprentice_mirvedaAI, creature->AI())->Summon = true; CAST_AI(npc_apprentice_mirveda::npc_apprentice_mirvedaAI, creature->AI())->PlayerGUID = player->GetGUID(); @@ -131,7 +130,7 @@ public: Summons.Summon(summoned); } - void SummonedCreatureDies(Creature* summoned, Unit* who) OVERRIDE + void SummonedCreatureDies(Creature* summoned, Unit* /*who*/) OVERRIDE { Summons.Despawn(summoned); ++KillCount; @@ -186,7 +185,7 @@ public: case EVENT_FIREBALL: if (!UpdateVictim()) continue; - DoCastVictim(SPELL_FIREBALL, true); + DoCastVictim(SPELL_FIREBALL, true); // Not casting in combat events.ScheduleEvent(EVENT_FIREBALL, 3000); break; default: -- cgit v1.2.3