Skip to content

Commit

Permalink
Fix STOR modded element processing
Browse files Browse the repository at this point in the history
fixes #460, again
  • Loading branch information
iczero authored and jacob1 committed Jun 18, 2017
1 parent 67b87b1 commit 3336209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/Simulation.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3336209

Please sign in to comment.