From 4f619eb9378d9115d804d98cec15befc6a6aef6e Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Fri, 11 Jul 2014 17:04:01 +0200 Subject: Core/LFG: Fix warning with vs2014 ctp (no support) --- src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp index 7c05fd4b87a..256ab06a7b7 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp @@ -95,7 +95,7 @@ public: void JustDied(Unit* /*killer*/) override { - Unit* Terestian = ObjectAccessor::GetUnit(*me, instance->GetData64(DATA_TERESTIAN)); + Creature* Terestian = ObjectAccessor::GetCreature(*me, instance->GetData64(DATA_TERESTIAN)); if (Terestian && Terestian->IsAlive()) DoCast(Terestian, SPELL_BROKEN_PACT, true); } -- cgit v1.2.3