mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
update gravity wall zones whether or not newtonian gravity is on. Fixes #92
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user