From a90e46bf03365920f2a13254ec17f1d4f76727f6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 19 Mar 2006 13:48:08 +0000 Subject: (svn r3981) More work for the rail accessing functions and enums --- oldloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oldloader.c') diff --git a/oldloader.c b/oldloader.c index 4489e44f1..c17c8077f 100644 --- a/oldloader.c +++ b/oldloader.c @@ -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; -- cgit v1.2.3-54-g00ecf