Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main objective was to not reset the set-backs on setting back a vehicle with a player, plus data resetting cleanup. Specific changes: * Prefer an existing set-back, in case the default one has been invalidated. * Do not cancel a vehicle set back task, in case no set-back is present. * Avoid multiple resetting and redundant calls for resetting positions. * Ensure the location set back to is set as a set-back location after set back. * Skip changing vehicle data with player moving resetting (e.g. player teleport, player morepackets disabled). Review and possibly correct/alter use of: * MovingData.vehicleMoves.invalidate * MovingData.vehicleSetBacks * MovingData.clearMostMovingData * AuxMoving.resetXYPositions * MovingData.clearVehicleData * MovingData.clearVehicleMorePacketsData * MovingData.clearAllMorePacketsData * MovingData|AuxMoving.resetVehiclePositions
- Loading branch information
Showing
6 changed files
with
183 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.