Fix STOR modded element processing

fixes #460, again
This commit is contained in:
iczero 2017-06-17 23:01:35 -07:00 committed by jacob1
parent 67b87b1dab
commit 3336209527

View File

@ -105,7 +105,7 @@ int Simulation::Load(int fullX, int fullY, GameSave * save)
{
tempPart.ctype = partMap[tempPart.ctype];
}
if (tempPart.type == PT_PIPE || tempPart.type == PT_PPIP)
if (tempPart.type == PT_PIPE || tempPart.type == PT_PPIP || tempPart.type == PT_STOR)
{
tempPart.tmp = partMap[tempPart.tmp&0xFF] | (tempPart.tmp&~0xFF);
}