Core/Movement: fixed build

This commit is contained in:
Ovahlord
2019-12-30 19:14:01 +01:00
parent 3b24c65364
commit 3c96c02e50

View File

@@ -607,7 +607,7 @@ void MotionMaster::MoveSeekAssistance(float x, float y, float z)
_owner->AttackStop();
_owner->CastStop();
_owner->ToCreature()->SetReactState(REACT_PASSIVE);
Mutate(new AssistanceMovementGenerator(x, y, z), MOTION_SLOT_ACTIVE, _owner->GetSpeed(MOVE_RUN) * 0.66f);
Mutate(new AssistanceMovementGenerator(x, y, z, _owner->GetSpeed(MOVE_RUN) * 0.66f), MOTION_SLOT_ACTIVE);
}
else
TC_LOG_ERROR("movement.motionmaster", "MotionMaster::MoveSeekAssistance: '%s', attempted to seek assistance.", _owner->GetGUID().ToString().c_str());