]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
Cvar each ring's action, and showing the ring for that purpose.
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
index d004509863b7a3fb608613661f922ed791bcc9c1..d9f805cf5225876f36e2e5cc151d42ceb610f375 100644 (file)
@@ -2001,11 +2001,15 @@ void Sbar_Ring()
                        break;\r
                case 1:\r
                        // ring shows vore system delay, empties with progress\r
+                       if not(cvar("sbar_ring1_info_voredelay"))\r
+                               break;\r
                        ring1_color = '0.5 0.5 1';\r
                        text1_msg = "Vore delay";\r
                        break;\r
                case 2:\r
                        // ring shows stomach kick delay, empties with progress\r
+                       if not(cvar("sbar_ring1_info_kickdelay"))\r
+                               break;\r
                        ring1_color = '1 1 0.5';\r
                        text1_msg = "Kick delay";\r
                        break;\r
@@ -2020,6 +2024,8 @@ void Sbar_Ring()
                        break;\r
                case 1:\r
                        // ring shows regurgitation preparing, fills with progress\r
+                       if not(cvar("sbar_ring2_info_regurgitateprepare"))\r
+                               break;\r
                        ring2_color = '1 0.5 1';\r
                        text2_msg = "Regurgitating...";\r
                        break;\r