From 6fca44fd70aed464f55eb130b9d4e3385ebc24ab Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 5 Aug 2017 17:53:41 -0400 Subject: [PATCH] fix newtonian gravity state transitions flashing --- src/simulation/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 3b52e438bf..8abb7f2dbd 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4107,7 +4107,7 @@ void Simulation::UpdateParticles(int start, int end) else s = 0; } else s = 0; - } else if (elements[t].LowPressureTransition>-1 && pv[y/CELL][x/CELL]-1 && pv[y/CELL][x/CELL]