summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/water_cmd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index f942349af..4c013857a 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -567,6 +567,9 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs)
)) {
break;
}
+
+ Vehicle *v = FindFloodableVehicleOnTile(target);
+ if (v != NULL) FloodVehicle(v);
}
/* FALLTHROUGH */