From aa3df50f9b3118190f956d632eaf77f5044703d9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 26 Nov 2022 17:26:45 +0100 Subject: [PATCH] - fixed locked activator setup. This broke all locked doors. --- wadsrc/static/zscript/games/duke/actors/controllers.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/games/duke/actors/controllers.zs b/wadsrc/static/zscript/games/duke/actors/controllers.zs index 8ba1ed9a0..778f2f08d 100644 --- a/wadsrc/static/zscript/games/duke/actors/controllers.zs +++ b/wadsrc/static/zscript/games/duke/actors/controllers.zs @@ -84,8 +84,8 @@ class DukeActivatorLocked : DukeActor override void Initialize() { self.cstat = CSTAT_SPRITE_INVISIBLE; - if (!Raze.IsRR()) self.lotag |= 16384; - else self.lotag ^= 16384; + if (!Raze.IsRR()) self.sector.lotag |= 16384; + else self.sector.lotag ^= 16384; } /* must wait until Activator.onActivate can be done.