mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
don't allow streamline floodfill
This commit is contained in:
@@ -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);
|
||||
}
|
||||
void WallTool::DrawFill(Simulation * sim, Brush * brush, ui::Point position) {
|
||||
if (toolID != WL_STREAM)
|
||||
sim->FloodWalls(position.X, position.Y, toolID, -1, -1, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user