mirror of https://github.com/OpenTTD/OpenTTD
(svn r12036) -Fix: For station tiles, only get road types for road stops.
parent
45b79bc9f1
commit
67782add11
|
@ -2088,7 +2088,7 @@ static void DrawTile_Station(TileInfo *ti)
|
||||||
total_offset = rti->total_offset;
|
total_offset = rti->total_offset;
|
||||||
custom_ground_offset = rti->custom_ground_offset;
|
custom_ground_offset = rti->custom_ground_offset;
|
||||||
} else {
|
} else {
|
||||||
roadtypes = GetRoadTypes(ti->tile);
|
roadtypes = IsRoadStop(ti->tile) ? GetRoadTypes(ti->tile) : ROADTYPES_NONE;
|
||||||
total_offset = 0;
|
total_offset = 0;
|
||||||
custom_ground_offset = 0;
|
custom_ground_offset = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue