MovingData.onSetBack: also reset more-packets/vehicle set-backs.

This commit is contained in:
asofold 2013-01-05 12:28:04 +01:00
parent 92adc71ccd
commit 15d2346dea

View File

@ -167,7 +167,8 @@ public class MovingData extends ACheckData {
public void onSetBack(final Location setBack) { public void onSetBack(final Location setBack) {
// Reset positions // Reset positions
resetPositions(teleported); resetPositions(teleported);
this.setBack = teleported; // NOTE: Do mind that the reference is used diredctly for set-backs, should stay consistent, though.
this.setBack = this.morePacketsSetback = this.morePacketsVehicleSetback = teleported;
clearAccounting(); // Might be more safe to do this. clearAccounting(); // Might be more safe to do this.
// Keep no-fall data. // Keep no-fall data.
// Fly data: problem is we don't remember the settings for the set back location. // Fly data: problem is we don't remember the settings for the set back location.