summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-01-29 18:57:26 +0000
committerDarkvater <darkvater@openttd.org>2006-01-29 18:57:26 +0000
commit4e09974975ba47b755ac00b58aae880fa297e161 (patch)
treea71e925a12583a807b9e921fd125c8ae1b8e8721 /oldloader.c
parentbb49381cd3ce8c95e459d1f542fc15064d7b17ea (diff)
downloadopenttd-4e09974975ba47b755ac00b58aae880fa297e161.tar.xz
(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c
index 95573c307..81a7fc4e8 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -1574,7 +1574,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 ((_m[i].m5 & 0xC0) == 0x40) {
+ if (GB(_m[i].m5, 6, 2) == 1) {
/* 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;