From 5362c56f7e1cdfc7c0c2486bde6bb86fa531b5c7 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 14 Dec 2012 13:50:36 -0500 Subject: update gravity wall zones whether or not newtonian gravity is on. Fixes #92 diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index f95a451..9c8bffd 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4638,12 +4638,11 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu gravy = grav->gravy; gravp = grav->gravp; gravmap = grav->gravmap; - - if(gravWallChanged) - { - grav->gravity_mask(); - gravWallChanged = false; - } + } + if(gravWallChanged) + { + grav->gravity_mask(); + gravWallChanged = false; } if(emp_decor>0) emp_decor -= emp_decor/25+2; -- cgit v0.9.2-21-gd62e