summaryrefslogtreecommitdiff
path: root/src/rail.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-27 23:36:28 +0000
committerrubidium <rubidium@openttd.org>2007-02-27 23:36:28 +0000
commit490811535584e73888fe8177b385b29d08d46daa (patch)
tree201d8919a041bd0eb12b24c8ba055c4d47310c76 /src/rail.cpp
parentfbd6a88d02035fad651a342f74221dc152342451 (diff)
downloadopenttd-490811535584e73888fe8177b385b29d08d46daa.tar.xz
(svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
Diffstat (limited to 'src/rail.cpp')
-rw-r--r--src/rail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail.cpp b/src/rail.cpp
index dd2674d2d..08670e4fd 100644
--- a/src/rail.cpp
+++ b/src/rail.cpp
@@ -110,7 +110,7 @@ RailType GetTileRailType(TileIndex tile)
case MP_STREET:
/* rail/road crossing */
- if (IsLevelCrossing(tile)) return GetRailTypeCrossing(tile);
+ if (IsLevelCrossing(tile)) return GetRailType(tile);
break;
case MP_STATION: