aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-10-14 17:52:56 +0200
committerjackpoz <giacomopoz@gmail.com>2014-10-14 17:52:56 +0200
commitc3276ed27ca1c6e120ed6fe03e5d342f55b7e7b0 (patch)
treef303d4d294343703433c4727f46b6fd1095bd578
parentef7d59964d0d8736c87174a7688593b13ae4d912 (diff)
parent0fa1024dbdec9f04a0761447633a4dd4c712bfe2 (diff)
Merge pull request #13327 from Nyeriah/patch-3
Scripts/ICC: Register Rotface's summons so they can be despawned later
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp
index 5e55256ae59..d5c07fb6942 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp
@@ -178,6 +178,8 @@ class boss_rotface : public CreatureScript
if (summon->GetEntry() == NPC_VILE_GAS_STALKER)
if (Creature* professor = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_PROFESSOR_PUTRICIDE)))
professor->CastSpell(summon, SPELL_VILE_GAS_H, true);
+
+ summons.Summon(summon);
}
void UpdateAI(uint32 diff) override