From 17302f03c79287be3e987b53a6008c8bf81881d3 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Thu, 10 Jan 2013 09:50:10 -0500 Subject: don't allow streamline floodfill 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); } -- cgit v0.9.2-21-gd62e