summaryrefslogtreecommitdiff
path: root/src/simulation/elements/NEUT.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-22 16:39:44 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-22 16:39:44 (GMT)
commit625766028d8eb7bb6dcd28962a172546226a597e (patch)
treef0e3fb834f007cc776ecb6061f8e804a20a32a45 /src/simulation/elements/NEUT.cpp
parent60b1bf50667a3c631a80579d7e45bc822c20f0eb (diff)
downloadpowder-625766028d8eb7bb6dcd28962a172546226a597e.zip
powder-625766028d8eb7bb6dcd28962a172546226a597e.tar.gz
fix NEUT not setting off DEUT directly under it (save 1236560)
Diffstat (limited to 'src/simulation/elements/NEUT.cpp')
-rw-r--r--src/simulation/elements/NEUT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/NEUT.cpp b/src/simulation/elements/NEUT.cpp
index 1d65a33..9e47e7e 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)