From c1eb40af61fc04a2db8971bbf233ddb0f9f4a2b5 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 21 Oct 2011 17:25:14 +0100 Subject: [PATCH] Fix gravity field drawing --- src/graphics.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/graphics.c b/src/graphics.c index 034df37b6..2ca21ccd6 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1519,22 +1519,23 @@ void draw_grav_zones(pixel * vid) void draw_grav(pixel *vid) { - int x, y, i; + int x, y, i, ca; float nx, ny, dist; for (y=0; y