From 625766028d8eb7bb6dcd28962a172546226a597e Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 22 Jun 2013 12:39:44 -0400 Subject: [PATCH] fix NEUT not setting off DEUT directly under it (save 1236560) --- src/simulation/elements/NEUT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/NEUT.cpp b/src/simulation/elements/NEUT.cpp index 1d65a3322..9e47e7e63 100644 --- a/src/simulation/elements/NEUT.cpp +++ b/src/simulation/elements/NEUT.cpp @@ -53,7 +53,7 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS) int pressureFactor = 3 + (int)sim->pv[y/CELL][x/CELL]; for (rx=-1; rx<2; rx++) for (ry=-1; ry<2; ry++) - if (BOUNDS_CHECK && (rx || ry)) + if (BOUNDS_CHECK) { r = pmap[y+ry][x+rx]; switch (r&0xFF)