From 9346b5de7e23cc5d4e5211d893fe10d21c42c498 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 19 Jul 2020 17:38:36 +0200 Subject: [PATCH] - testing stuff. --- source/games/duke/src/actors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index 3b65c1b7b..c2be65b12 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -342,7 +342,7 @@ void movecyclers(void) { wal->shade = j; - if ((wal->cstat & 2) && wal->nextwall >= 0) + if ((wal->cstat & CSTAT_WALL_BOTTOM_SWAP) && wal->nextwall >= 0) wall[wal->nextwall].shade = j; } @@ -379,7 +379,7 @@ void movedummyplayers(void) { if (ps[p].on_ground && ps[p].on_warping_sector == 1 && sector[ps[p].cursectnum].lotag == 1) { - sprite[i].cstat = 257; + sprite[i].cstat = CSTAT_SPRITE_BLOCK_ALL; sprite[i].z = sector[sprite[i].sectnum].ceilingz + (27 << 8); sprite[i].ang = ps[p].getang(); if (hittype[i].temp_data[0] == 8)