Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
Port From (https://github.com/TrinityCore/TrinityCore/commit/36dde87249e87c5693162a6e890875d828f93d6d)
This commit is contained in:
@@ -81,11 +81,10 @@ namespace Game
|
||||
Log.outError(LogFilter.Network, "HandleMovementOpcodes: guid error");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!movementInfo.Pos.IsPositionValid())
|
||||
{
|
||||
Log.outError(LogFilter.Network, "HandleMovementOpcodes: Invalid Position");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (!mover.MoveSpline.Finalized())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user