From a6bf98399cd68cf0f44487299f430e2cfc618175 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 19 Oct 2022 18:02:05 +0200 Subject: [PATCH] - fixed inconsistency between angle and intangle use. Angles abused as flag words should always use intangle. --- source/games/duke/src/actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index f9f8cd2a2..02a93c512 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -3663,7 +3663,7 @@ void handle_se13(DDukeActor* actor) actor->temp_data[3]++; sc->ceilingstat ^= CSTAT_SECTOR_SKY; - if (actor->spr.angle == DAngle90) + if (actor->spr.intangle == 512) { for (auto& wal : wallsofsector(sc)) wal.shade = actor->spr.shade;