mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 12:42:43 -04:00
Fix jump dest orientation
This commit is contained in:
@@ -1998,7 +1998,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
if (Creature* creature = (*itr)->ToCreature())
|
||||
{
|
||||
creature->GetMotionMaster()->Clear();
|
||||
creature->GetMotionMaster()->MoveJump(e.target.x, e.target.y, e.target.z, (float)e.action.jump.speedxy, (float)e.action.jump.speedz);
|
||||
creature->GetMotionMaster()->MoveJump(e.target.x, e.target.y, e.target.z, e.target.o, (float)e.action.jump.speedxy, (float)e.action.jump.speedz);
|
||||
}
|
||||
}
|
||||
/// @todo Resume path when reached jump location
|
||||
|
||||
Reference in New Issue
Block a user