diff options
author | rubidium <rubidium@openttd.org> | 2006-05-09 08:17:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-05-09 08:17:33 +0000 |
commit | 9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45 (patch) | |
tree | 975779e5070a23a2c674c5848eaf2fef8b8d766a /rail_gui.c | |
parent | a0e387597ac53c810a24a01521aa3e802964e8d5 (diff) | |
download | openttd-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 'rail_gui.c')
-rw-r--r-- | rail_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c index 26d556be0..96b39e1c0 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -90,7 +90,7 @@ static void PlaceRail_AutoRail(TileIndex tile) static void PlaceExtraDepotRail(TileIndex tile, uint16 extra) { - if (GetRailTileType(tile) != RAIL_TYPE_NORMAL) return; + if (GetRailTileType(tile) != RAIL_TILE_NORMAL) return; if ((GetTrackBits(tile) & GB(extra, 8, 8)) == 0) return; DoCommandP(tile, _cur_railtype, extra & 0xFF, NULL, CMD_BUILD_SINGLE_RAIL | CMD_AUTO | CMD_NO_WATER); |