From 3336209527a3950cfcac4851cb3928593e04149f Mon Sep 17 00:00:00 2001 From: iczero Date: Sat, 17 Jun 2017 23:01:35 -0700 Subject: [PATCH] Fix STOR modded element processing fixes #460, again --- src/simulation/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 1e564ac5b..14c24a433 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -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); }