MSG_MOVE_FALL_LAND 5.4.8 (18414)

This commit is contained in:
zamalaev 2020-02-19 20:17:55 +00:00 committed by Antz
parent 6c8037d531
commit bf556f6b4d
6 changed files with 55 additions and 49 deletions

View file

@ -24393,7 +24393,7 @@ void Player::LearnPetTalent(ObjectGuid petGuid, uint32 talentId, uint32 talentRa
void Player::UpdateFallInformationIfNeed(MovementInfo const& minfo, uint16 opcode)
{
if (m_lastFallTime >= minfo.GetFallTime() || m_lastFallZ <= minfo.GetPos()->z || opcode == CMSG_MOVE_FALL_LAND)
if (m_lastFallTime >= minfo.GetFallTime() || m_lastFallZ <= minfo.GetPos()->z || opcode == MSG_MOVE_FALL_LAND)
SetFallInformation(minfo.GetFallTime(), minfo.GetPos()->z);
}