aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index fbbfa3a2638..d13b552c053 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -13528,7 +13528,7 @@ void Unit::ExitVehicle()
}
BuildHeartBeatMsg(&data);
- SendMessageToSet(&data, GetTypeId() == TYPEID_PLAYER ? false : true);
+ SendMessageToSet(&data, false);
if(m_Vehicle->GetOwnerGUID() == GetGUID())
m_Vehicle->Dismiss();
@@ -13565,7 +13565,7 @@ void Unit::BuildMovementPacket(ByteBuffer *data) const
// 0x00001000
if(GetUnitMovementFlags() & MOVEMENTFLAG_JUMPING)
{
- *data << (float)m_movementInfo.j_unk;
+ *data << (float)m_movementInfo.j_zspeed;
*data << (float)m_movementInfo.j_sinAngle;
*data << (float)m_movementInfo.j_cosAngle;
*data << (float)m_movementInfo.j_xyspeed;