possible piston bug fix for save 1176828
This commit is contained in:
parent
b2153b5af4
commit
36efb48644
@ -185,7 +185,7 @@ int Element_PSTN::CanMoveStack(Simulation * sim, int stackX, int stackY, int dir
|
|||||||
if(spaces >= amount)
|
if(spaces >= amount)
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
if(currentPos < maxSize && !retract)
|
if(spaces < maxSize && !retract)
|
||||||
tempParts[currentPos++] = r>>8;
|
tempParts[currentPos++] = r>>8;
|
||||||
else
|
else
|
||||||
return spaces;
|
return spaces;
|
||||||
|
Reference in New Issue
Block a user