From bba806f43efdaf656c6fb61fb9737bb3075c97c4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 15 Feb 2022 17:22:05 +0100 Subject: [PATCH] - initialize FSwitchDef::QuestPanel when reading a Boom SWITCHES lump. --- src/gamedata/textures/anim_switches.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gamedata/textures/anim_switches.cpp b/src/gamedata/textures/anim_switches.cpp index 21c6ff14e..4782aa6ea 100644 --- a/src/gamedata/textures/anim_switches.cpp +++ b/src/gamedata/textures/anim_switches.cpp @@ -91,6 +91,7 @@ void FTextureAnimator::InitSwitchList () def1->NumFrames = def2->NumFrames = 1; def1->frames[0].TimeMin = def2->frames[0].TimeMin = 0; def1->frames[0].TimeRnd = def2->frames[0].TimeRnd = 0; + def1->QuestPanel = def2->QuestPanel = false; AddSwitchPair(def1, def2); } }