diff options
author | megamage <none@none> | 2009-03-24 09:46:45 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-24 09:46:45 -0600 |
commit | 208398017a3b83e37e6d657c0444622d70f617d3 (patch) | |
tree | f05b27eca18cad20c61efcde5e6af4d53b33ca14 /src/game/MovementHandler.cpp | |
parent | cd66e85ed191defdde64164829e443e2c008139b (diff) |
[7529] Hide some implementation details for fall damage calculation and breath timers. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/MovementHandler.cpp')
-rw-r--r-- | src/game/MovementHandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/MovementHandler.cpp b/src/game/MovementHandler.cpp index 7acc0a36386..2ec6022ca39 100644 --- a/src/game/MovementHandler.cpp +++ b/src/game/MovementHandler.cpp @@ -273,8 +273,7 @@ void WorldSession::HandleMovementOpcodes( WorldPacket & recv_data ) } } - if (GetPlayer()->m_lastFallTime >= movementInfo.fallTime || GetPlayer()->m_lastFallZ <=movementInfo.z || recv_data.GetOpcode() == MSG_MOVE_FALL_LAND) - GetPlayer()->SetFallInformation(movementInfo.fallTime, movementInfo.z); + GetPlayer()->UpdateFallInformationIfNeed(movementInfo,MSG_MOVE_FALL_LAND); if(GetPlayer()->isMovingOrTurning()) GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH); |