summaryrefslogtreecommitdiff
path: root/src/simulation/tools/NGrv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/tools/NGrv.cpp')
-rw-r--r--src/simulation/tools/NGrv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/tools/NGrv.cpp b/src/simulation/tools/NGrv.cpp
index 7a097d5..525d697 100644
--- a/src/simulation/tools/NGrv.cpp
+++ b/src/simulation/tools/NGrv.cpp
@@ -11,7 +11,7 @@ Tool_NGrv::Tool_NGrv()
int Tool_NGrv::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)] -= 0.03f*strength;
return 1;
}