Chunnel: Save/load changes

This commit is contained in:
Jonathan G Rennison
2017-03-04 12:39:32 +00:00
parent aac5b2d4ad
commit 75410ddae4
5 changed files with 7 additions and 5 deletions

View File

@@ -2030,7 +2030,7 @@ bool AfterLoadGame()
}
/* Tunnel pool has to be initiated before reservations. */
if (IsSavegameVersionBefore(196)) {
if (SlXvIsFeatureMissing(XSLFI_CHUNNEL)) {
for (TileIndex t = 0; t < map_size; t++) {
if (IsTunnelTile(t)) {
DiagDirection dir = GetTunnelBridgeDirection(t);