- fixed inconsistency between angle and intangle use.

Angles abused as flag words should always use intangle.
This commit is contained in:
Christoph Oelckers 2022-10-19 18:02:05 +02:00
parent c51a71ed94
commit a6bf98399c

View file

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