Mercurial > hg > openttd
changeset 8466:728f11b3fc9c draft
(svn r12036) -Fix: For station tiles, only get road types for road stops.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Fri, 01 Feb 2008 20:10:57 +0000 |
parents | f011b1cfdfd9 |
children | 284a76aa2868 |
files | src/station_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2088,7 +2088,7 @@ 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; }