summaryrefslogtreecommitdiff
path: root/src/simulation
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-10 13:12:56 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-10 13:12:56 (GMT)
commita45ca0363e7598cb14d9dad00fae045e1487c2ed (patch)
tree6786dd3bb81b8d676fa4c690123922ebd277cb55 /src/simulation
parent810ea42f99cf9f56c1ac998ce8a203bea01e97b2 (diff)
downloadpowder-a45ca0363e7598cb14d9dad00fae045e1487c2ed.zip
powder-a45ca0363e7598cb14d9dad00fae045e1487c2ed.tar.gz
Tool - Correct box drawing. Finishing touches to tool strength (Fixes #87)
Diffstat (limited to 'src/simulation')
-rw-r--r--src/simulation/Simulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index 841984e..c11bde0 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -1107,7 +1107,7 @@ void Simulation::ToolBox(int x1, int y1, int x2, int y2, int tool, Brush * cBrus
}
for (j=y1; j<=y2; j++)
for (i=x1; i<=x2; i++)
- ToolBrush(i, j, tool, cBrush, strength);
+ Tool(i, j, tool, strength);
}
int Simulation::CreateParts(int positionX, int positionY, int c, Brush * cBrush)