Fix jump dest orientation

This commit is contained in:
Elimination
2016-02-02 00:27:26 +07:00
parent 20a8476cd8
commit ff80f249a7
13 changed files with 37 additions and 36 deletions

View File

@@ -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