summaryrefslogtreecommitdiff
path: root/src/game/Tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Tool.cpp')
-rw-r--r--src/game/Tool.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Tool.cpp b/src/game/Tool.cpp
index 7fa8e15..5be44b6 100644
--- a/src/game/Tool.cpp
+++ b/src/game/Tool.cpp
@@ -110,7 +110,8 @@ void WallTool::DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui
sim->CreateWallBox(position1.X, position1.Y, position2.X, position2.Y, toolID, 0);
}
void WallTool::DrawFill(Simulation * sim, Brush * brush, ui::Point position) {
- sim->FloodWalls(position.X, position.Y, toolID, -1, -1, 0);
+ if (toolID != WL_STREAM)
+ sim->FloodWalls(position.X, position.Y, toolID, -1, -1, 0);
}