From e37fab07131b0eb377ff2b5d3bce8b4338d26a70 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 15 Oct 2018 12:21:01 +0000 Subject: Small tweak to grav demo. --- xd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3