Core/Unit: Fix some movement issues when leaving vehicles introduced in dce0a7d184

Sorry about that.
This commit is contained in:
kaelima
2012-03-16 22:52:20 +01:00
parent 65453620e8
commit 23c5ce0e0a
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1396,7 +1396,7 @@ struct ScalingStatValuesEntry
uint32 spellPower; // 16 spell power for level
uint32 ssdMultiplier2; // 17 there's data from 3.1 dbc ssdMultiplier[3]
uint32 ssdMultiplier3; // 18 3.3
uint32 armorMod2[5]; // 20-23 Armor for level
uint32 armorMod2[5]; // 19-23 Armor for level
uint32 getssdMultiplier(uint32 mask) const
{
+2
View File
@@ -17043,6 +17043,8 @@ void Unit::_ExitVehicle(Position const* exitPosition)
else
pos = *exitPosition;
AddUnitState(UNIT_STATE_MOVE);
if (GetTypeId() == TYPEID_PLAYER)
ToPlayer()->SetFallInformation(0, GetPositionZ());
else if (HasUnitMovementFlag(MOVEMENTFLAG_ROOT))