Fix loading of bridges from Spring 2013 Patchpack v2.1.147 and later

This commit is contained in:
Jonathan G Rennison
2019-02-04 22:26:02 +00:00
parent 2142452305
commit c59ecb01ad

View File

@@ -666,7 +666,7 @@ bool AfterLoadGame()
SB(_m[t].type, 2, 2, 0);
}
}
} else if (SlXvIsFeaturePresent(XSLFI_HEIGHT_8_BIT)) {
} else if (IsSavegameVersionBefore(SLV_194) && SlXvIsFeaturePresent(XSLFI_HEIGHT_8_BIT)) {
for (TileIndex t = 0; t < map_size; t++) {
SB(_m[t].type, 0, 2, GB(_me[t].m6, 0, 2));
SB(_me[t].m6, 0, 2, 0);