From 462bb78f3d9e0b764e385dadb3ee49b2cdca2a60 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 26 Apr 2014 14:39:40 -0400 Subject: [PATCH] fix nx/ny again (values were reversed) --- src/simulation/Simulation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 737002fec..97e548685 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4534,8 +4534,8 @@ killed: // clear_xf, clear_yf is the last known position that the particle should almost certainly be able to move to nxf = clear_xf; nyf = clear_yf; - nx = clear_y; - ny = clear_x; + nx = clear_x; + ny = clear_y; // Look for spaces to move horizontally (perpendicular to gravity direction), keep going until a space is found or the number of positions examined = rt for (j=0;j