mirror of https://github.com/OpenTTD/OpenTTD
(svn r3485) - [Post-PBS]: when reverting PBS and removing station-tile reservations a station can of course not be a crossing as well. Thanks glx.
parent
8c7e594b08
commit
61a7b45dd9
|
@ -1339,7 +1339,7 @@ bool AfterLoadGame(void)
|
||||||
CLRBIT(_m[tile].m5, 0);
|
CLRBIT(_m[tile].m5, 0);
|
||||||
|
|
||||||
// Clear PBS reservation on station
|
// Clear PBS reservation on station
|
||||||
if (IsTileType(tile, MP_STATION) && IsLevelCrossing(tile))
|
if (IsTileType(tile, MP_STATION))
|
||||||
CLRBIT(_m[tile].m3, 6);
|
CLRBIT(_m[tile].m3, 6);
|
||||||
} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
|
} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue