fix NEUT not setting off DEUT directly under it (save 1236560)
This commit is contained in:
parent
60b1bf5066
commit
625766028d
@ -53,7 +53,7 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS)
|
|||||||
int pressureFactor = 3 + (int)sim->pv[y/CELL][x/CELL];
|
int pressureFactor = 3 + (int)sim->pv[y/CELL][x/CELL];
|
||||||
for (rx=-1; rx<2; rx++)
|
for (rx=-1; rx<2; rx++)
|
||||||
for (ry=-1; ry<2; ry++)
|
for (ry=-1; ry<2; ry++)
|
||||||
if (BOUNDS_CHECK && (rx || ry))
|
if (BOUNDS_CHECK)
|
||||||
{
|
{
|
||||||
r = pmap[y+ry][x+rx];
|
r = pmap[y+ry][x+rx];
|
||||||
switch (r&0xFF)
|
switch (r&0xFF)
|
||||||
|
Reference in New Issue
Block a user