summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d3e69216b..baa3392c3 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2221,7 +2221,7 @@ static void DrawTile_Station(TileInfo *ti)
if (t == NULL || t->seq == NULL) t = &_station_display_datas[GetStationType(ti->tile)][GetStationGfx(ti->tile)];
- if (IsBuoy(ti->tile) || IsDock(ti->tile) || IsOilRig(ti->tile)) {
+ if (IsBuoy(ti->tile) || IsDock(ti->tile) || (IsOilRig(ti->tile) && GetWaterClass(ti->tile) != WATER_CLASS_INVALID)) {
if (ti->tileh == SLOPE_FLAT) {
DrawWaterClassGround(ti);
} else {