possible piston bug fix for save 1176828

This commit is contained in:
jacob1 2013-05-04 16:40:04 -04:00
parent b2153b5af4
commit 36efb48644

View File

@ -185,7 +185,7 @@ int Element_PSTN::CanMoveStack(Simulation * sim, int stackX, int stackY, int dir
if(spaces >= amount)
break;
} else {
if(currentPos < maxSize && !retract)
if(spaces < maxSize && !retract)
tempParts[currentPos++] = r>>8;
else
return spaces;