Skip to content

Commit

Permalink
ICE contains arbitrary elements in ctype as well and should track thi…
Browse files Browse the repository at this point in the history
…s in saves
  • Loading branch information
jacob1 committed Apr 21, 2024
1 parent de345a8 commit 47384c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/GameSave.cpp
Expand Up @@ -59,6 +59,7 @@ void GameSave::MapPalette()
}
if (version <= Version(98, 2))
{
ignoreMissingErrors[PT_ICEI] = true;
ignoreMissingErrors[PT_SNOW] = true;
ignoreMissingErrors[PT_RSST] = true;
ignoreMissingErrors[PT_RSSS] = true;
Expand Down
1 change: 1 addition & 0 deletions src/simulation/elements/ICEI.cpp
Expand Up @@ -34,6 +34,7 @@ void Element::Element_ICEI()
Description = "Crushes under pressure. Cools down air.";

Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_NEUTPASS;
CarriesTypeIn = 1U << FIELD_CTYPE;

LowPressure = IPL;
LowPressureTransition = NT;
Expand Down

0 comments on commit 47384c5

Please sign in to comment.