summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/air.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/air.c b/src/air.c
index e859e6c..740a28e 100644
--- a/src/air.c
+++ b/src/air.c
@@ -62,7 +62,7 @@ void update_grav(void)
{
for (j=0; j<XRES/CELL; j++)
{
- if(th_gravmap[i][j]>0.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<YRES/CELL; y++)
{
for (x=0; x<XRES/CELL; x++)