Allow debug view of player hitbox when using chasecam.

This commit is contained in:
Mari the Deer 2022-10-21 12:43:41 +02:00
commit db86853195
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r578 \cu(Thu 20 Oct 23:25:11 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r578 \cu(2022-10-20 23:25:11)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r579 \cu(Fri 21 Oct 12:43:41 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r579 \cu(2022-10-21 12:43:41)\c-";

View file

@ -108,7 +108,7 @@ extend Class SWWMHandler
Actor a;
while ( a = Actor(ti.Next()) )
{
if ( a == players[consoleplayer].Camera ) continue;
if ( (a == players[consoleplayer].Camera) && !(players[consoleplayer].cheats&CF_CHASECAM) ) continue;
if ( a.bINVISIBLE && !(a is 'DynamicLight') ) continue;
if ( (a is 'Inventory') && Inventory(a).Owner ) continue;
if ( (a is 'SWWMPickupFlash') && (a.CurState == a.FindState('Pickup')) ) continue;