summaryrefslogtreecommitdiff
path: root/xd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xd.c')
-rw-r--r--xd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xd.c b/xd.c
index 51900cb..2e54639 100644
--- a/xd.c
+++ b/xd.c
@@ -4004,7 +4004,7 @@ static void GravityDemo(void)
g = 1.0 / d*d;
g /= 100.0;
- g /= gravobj[f].mass;
+ g *= gravobj[f].mass;
dx /= d;
dy /= d;