don't allow streamline floodfill
This commit is contained in:
parent
9d67dd61e8
commit
17302f03c7
@ -110,6 +110,7 @@ void WallTool::DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui
|
|||||||
sim->CreateWallBox(position1.X, position1.Y, position2.X, position2.Y, toolID, 0);
|
sim->CreateWallBox(position1.X, position1.Y, position2.X, position2.Y, toolID, 0);
|
||||||
}
|
}
|
||||||
void WallTool::DrawFill(Simulation * sim, Brush * brush, ui::Point position) {
|
void WallTool::DrawFill(Simulation * sim, Brush * brush, ui::Point position) {
|
||||||
|
if (toolID != WL_STREAM)
|
||||||
sim->FloodWalls(position.X, position.Y, toolID, -1, -1, 0);
|
sim->FloodWalls(position.X, position.Y, toolID, -1, -1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user