]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/View.qc
Cleanup radar code. I'll adapt the radar menu to the new changes later
[voretournament/voretournament.git] / data / qcsrc / client / View.qc
index 8a7462fcd89dc5b11599eaec6fcdbab1e0ed1568..557a0d9b916488f105139dfeaf0f56bc7b53b59d 100644 (file)
@@ -1031,7 +1031,7 @@ void CSQC_UpdateView(float w, float h)
 \r
        // draw radar\r
        if(\r
-                       ons_showmap\r
+                       showmap\r
                        ||\r
                        (\r
                         !scoreboard_active\r
@@ -1186,7 +1186,7 @@ void CSQC_UpdateView(float w, float h)
        if not(getstati(STAT_ARMOR) < g_power || time <= power_boot)\r
        {\r
                // crosshair goes VERY LAST\r
-               if(!scoreboard_active && !ons_showmap && !camera_active) {\r
+               if(!scoreboard_active && !showmap && !camera_active) {\r
                        // TrueAim check\r
                        float shottype;\r
                        // wcross_origin = '0.5 0 0' * vid_conwidth + '0 0.5 0' * vid_conheight;\r