summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-01 20:10:57 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-01 20:10:57 +0000
commit67782add1125d7c3209b02b3dde27e5ebb3be6d1 (patch)
tree9cfec4c8951e51e5de3546fec3942129c49a882d /src
parent45b79bc9f13911d6496df947d054ab037a00b7fc (diff)
downloadopenttd-67782add1125d7c3209b02b3dde27e5ebb3be6d1.tar.xz
(svn r12036) -Fix: For station tiles, only get road types for road stops.
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index c2318fa74..b5749c4b8 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2088,7 +2088,7 @@ static void DrawTile_Station(TileInfo *ti)
total_offset = rti->total_offset;
custom_ground_offset = rti->custom_ground_offset;
} else {
- roadtypes = GetRoadTypes(ti->tile);
+ roadtypes = IsRoadStop(ti->tile) ? GetRoadTypes(ti->tile) : ROADTYPES_NONE;
total_offset = 0;
custom_ground_offset = 0;
}