fix NEUT not setting off DEUT directly under it (save 1236560)

This commit is contained in:
jacob1 2013-06-22 12:39:44 -04:00
parent 60b1bf5066
commit 625766028d

View File

@ -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)