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