mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 17:09:10 +00:00
(svn r3981) More work for the rail accessing functions and enums
This commit is contained in:
@@ -1562,7 +1562,7 @@ static bool LoadOldMain(LoadgameState *ls)
|
||||
for (i = 0; i < OLD_MAP_SIZE; i ++) {
|
||||
if (IsTileType(i, MP_RAILWAY)) {
|
||||
/* We save presignals different from TTDPatch, convert them */
|
||||
if (GB(_m[i].m5, 6, 2) == 1) {
|
||||
if (GetRailTileType(i) == RAIL_TYPE_SIGNALS) {
|
||||
/* This byte is always zero in TTD for this type of tile */
|
||||
if (_m[i].m4) /* Convert the presignals to our own format */
|
||||
_m[i].m4 = (_m[i].m4 >> 1) & 7;
|
||||
|
Reference in New Issue
Block a user