summaryrefslogtreecommitdiff
path: root/src/simulation/tools/Vac.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-07 02:19:51 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-07 02:19:51 (GMT)
commit76b92952b12f0eeaedbf3f2e4231dbd72b6d902a (patch)
tree018a6cb486c30c86d0818f6f1743dbdcbd63bd45 /src/simulation/tools/Vac.cpp
parent5ae6b1867796597a3560c6cdd82c5d217188e582 (diff)
downloadpowder-76b92952b12f0eeaedbf3f2e4231dbd72b6d902a.zip
powder-76b92952b12f0eeaedbf3f2e4231dbd72b6d902a.tar.gz
adjust tool strengths a little, to make them a little faster
Diffstat (limited to 'src/simulation/tools/Vac.cpp')
-rw-r--r--src/simulation/tools/Vac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/tools/Vac.cpp b/src/simulation/tools/Vac.cpp
index fbf7e85..86beb54 100644
--- a/src/simulation/tools/Vac.cpp
+++ b/src/simulation/tools/Vac.cpp
@@ -11,7 +11,7 @@ Tool_Vac::Tool_Vac()
int Tool_Vac::Perform(Simulation * sim, Particle * cpart, int x, int y, float strength)
{
- sim->air->pv[y/CELL][x/CELL] -= 0.03f*strength;
+ sim->air->pv[y/CELL][x/CELL] -= strength*0.05f;;
if(sim->air->pv[y/CELL][x/CELL] > 256.0f)
sim->air->pv[y/CELL][x/CELL] = 256.0f;
if(sim->air->pv[y/CELL][x/CELL] < -256.0f)