summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-05-09 08:17:33 +0000
committerrubidium <rubidium@openttd.org>2006-05-09 08:17:33 +0000
commit9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45 (patch)
tree975779e5070a23a2c674c5848eaf2fef8b8d766a /oldloader.c
parenta0e387597ac53c810a24a01521aa3e802964e8d5 (diff)
downloadopenttd-9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45.tar.xz
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
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 59fffc7da..073750869 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -1523,7 +1523,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 (GetRailTileType(i) == RAIL_TYPE_SIGNALS) {
+ if (GetRailTileType(i) == RAIL_TILE_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;