Disable precise crosshair when using chasecam or cameras.

This commit is contained in:
Mari the Deer 2022-09-24 21:56:21 +02:00
commit 9b3c2b6a74
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ extend Class SWWMHandler
double frametime = (MSTimeF()-prevframe)/1000.;
double theta = clamp(15.*frametime,0.,.5); // naive, but whatever
// draw precise crosshair(s)
if ( automapactive || !(players[consoleplayer].Camera is 'PlayerPawn') ) return;
if ( automapactive || (players[consoleplayer].Camera != players[consoleplayer].mo) || (players[consoleplayer].cheats&CF_CHASECAM) ) return;
if ( !swwm_precisecrosshair ) return;
if ( crosshairforce ) return;
if ( !crosshairon && (swwm_precisecrosshair <= 1) ) return;