From 17302f03c79287be3e987b53a6008c8bf81881d3 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Thu, 10 Jan 2013 09:50:10 -0500 Subject: [PATCH] don't allow streamline floodfill --- src/game/Tool.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/Tool.cpp b/src/game/Tool.cpp index 7fa8e159f..5be44b6d9 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); }