Don't apply chase crosshair in eventchase mode
authorMario <mario@smbclan.net>
Wed, 28 Aug 2019 10:26:52 +0000 (20:26 +1000)
committerMario <mario@smbclan.net>
Wed, 28 Aug 2019 10:26:52 +0000 (20:26 +1000)
qcsrc/client/view.qc

index 917d795..b1593cf 100644 (file)
@@ -974,7 +974,7 @@ void HUD_Crosshair(entity this)
                // wcross_origin = '0.5 0 0' * vid_conwidth + '0 0.5 0' * vid_conheight;
                if(csqcplayer.viewloc && (csqcplayer.viewloc.spawnflags & VIEWLOC_FREEAIM))
                        wcross_origin = viewloc_mousepos;
-               else if(autocvar_chase_active && autocvar_crosshair_chase)
+               else if(autocvar_chase_active > 0 && autocvar_crosshair_chase)
                {
                        vector player_org = ((csqcplayer) ? csqcplayer.origin + csqcplayer.view_ofs : view_origin);
                        if(csqcplayer && crosshair_chase_playeralpha && crosshair_chase_playeralpha < 1)