]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/View.qc
Rename teamradar to radar, and also allow it in non-team games by default
[voretournament/voretournament.git] / data / qcsrc / client / View.qc
index 3e48e2d36fc871205507a80f4a954362b5860732..8a7462fcd89dc5b11599eaec6fcdbab1e0ed1568 100644 (file)
@@ -1036,16 +1036,16 @@ void CSQC_UpdateView(float w, float h)
                        (\r
                         !scoreboard_active\r
                         &&\r
-                        cvar_string("cl_teamradar") != "0"\r
+                        cvar_string("cl_radar") != "0"\r
                         &&\r
                         (\r
-                         cvar("cl_teamradar") == 2\r
+                         cvar("cl_radar") == 2\r
                          ||\r
                          teamplay\r
                         )\r
                        )\r
          )\r
-               teamradar_view();\r
+               radar_view();\r
 \r
        // Draw artwork and play intermission music\r
        if(intermission && !isdemo() && gametype != GAME_RPG && !spectatee_status) // the match has ended. Don't do this for RPG because no one wins or loses there\r