]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 917d795ca2c21724e8c95d0b5ef748d5b3e9669a..b1593cf3a222315b6f7d6c66514d0bb6c25932c6 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)