From 80938ba13d92516d9fac988e018869a049830a5b Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Thu, 24 Jul 2014 18:44:10 +0200 Subject: Core: Add GetFallTime() to MovementInfo (cherry picked from commit 339574e2fdcd654280cd06a38466cab44eab5133) --- src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp b/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp index 29ec0598bdd..df5e4641552 100644 --- a/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp +++ b/src/server/scripts/Northrend/IsleOfConquest/isle_of_conquest.cpp @@ -157,7 +157,7 @@ class spell_ioc_parachute_ic : public AuraScript { PreventDefaultAction(); if (Player* target = GetTarget()->ToPlayer()) - if (target->m_movementInfo.fallTime > 2000 && !target->GetTransport()) + if (target->m_movementInfo.GetFallTime() > 2000 && !target->GetTransport()) target->CastSpell(target, SPELL_PARACHUTE_IC, true); } -- cgit v1.2.3