summaryrefslogtreecommitdiff
path: root/src/simulation/tools/PGrv.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/PGrv.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/PGrv.cpp')
-rw-r--r--src/simulation/tools/PGrv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/tools/PGrv.cpp b/src/simulation/tools/PGrv.cpp
index cfa381c..e2c9fb0 100644
--- a/src/simulation/tools/PGrv.cpp
+++ b/src/simulation/tools/PGrv.cpp
@@ -11,7 +11,7 @@ Tool_PGrv::Tool_PGrv()
int Tool_PGrv::Perform(Simulation * sim, Particle * cpart, int x, int y, float strength)
{
- sim->gravmap[((y/CELL)*(XRES/CELL))+(x/CELL)] += 0.03f*strength;
+ sim->gravmap[((y/CELL)*(XRES/CELL))+(x/CELL)] = strength*5.0f;
return 1;
}