(svn r16079) -Fix [FS#2824]: insanely fast trains would not stop in time for stations
-Fix: insanely fast trains would sometimes 'jump' over waypoints/via stations within a tick, which would cause the order not to be processed causing the train to go in loops until (with luck) it 'hit' the tile
This commit is contained in:
@@ -1514,6 +1514,7 @@ void Vehicle::BeginLoading()
|
||||
InvalidateWindow(WC_STATION_VIEW, this->last_station_visited);
|
||||
|
||||
GetStation(this->last_station_visited)->MarkTilesDirty(true);
|
||||
this->cur_speed = 0;
|
||||
this->MarkDirty();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user