diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index a3837942c..91ba3a5e8 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -2770,6 +2770,14 @@ bool AfterLoadGame() v->acceleration = avi->acceleration; } } + + /* Blocked tiles could be reserved due to a bug, which causes + * other places to assert upon e.g. station reconstruction. */ + for (TileIndex t = 0; t < map_size; t++) { + if (HasStationTileRail(t) && IsStationTileBlocked(t)) { + SetRailStationReservation(t, false); + } + } } /* Road stops is 'only' updating some caches */ |