Fix jump dest orientation

This commit is contained in:
Elimination committed 2016-02-10 20:25:29 +07:00
1 parent 20a8476cd8
commit ff80f249a7
13 files changed
+37 -36

No files matched your search

+1 -1
View File
@@ -16874,7 +16874,7 @@ void Unit::JumpTo(WorldObject* obj, float speedZ)
float x, y, z;
obj->GetContactPoint(this, x, y, z);
float speedXY = GetExactDist2d(x, y) * 10.0f / speedZ;
GetMotionMaster()->MoveJump(x, y, z, speedXY, speedZ);
GetMotionMaster()->MoveJump(x, y, z, obj->GetOrientation(), speedXY, speedZ);
}
bool Unit::HandleSpellClick(Unit* clicker, int8 seatId)