- fixed locked activator setup.

This broke all locked doors.
This commit is contained in:
Christoph Oelckers 2022-11-26 17:26:45 +01:00
parent 229ee3dbe4
commit aa3df50f9b

View file

@ -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.