Fix jump dest orientation
This commit is contained in:
1 parent
20a8476cd8
commit
ff80f249a7
13 files changed
+37
-36
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user