diff options
author | rubidium <rubidium@openttd.org> | 2007-02-27 23:36:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-27 23:36:28 +0000 |
commit | 490811535584e73888fe8177b385b29d08d46daa (patch) | |
tree | 201d8919a041bd0eb12b24c8ba055c4d47310c76 /src/rail.cpp | |
parent | fbd6a88d02035fad651a342f74221dc152342451 (diff) | |
download | openttd-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.cpp | 2 |
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: |