From aef09292ee83479571524e4900c903af03efe7e5 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Sun, 24 Apr 2011 20:18:00 +0100 Subject: [PATCH] Allow negative gravity --- src/air.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/air.c b/src/air.c index e859e6cd9..740a28e93 100644 --- a/src/air.c +++ b/src/air.c @@ -62,7 +62,7 @@ void update_grav(void) { for (j=0; j0.0f) //Only calculate with populated or changed cells. + if(th_gravmap[i][j]>0.0001f || th_gravmap[i][j]<-0.0001f) //Only calculate with populated or changed cells. for (y=0; y