]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Of COURSE this effect is frametime dependent
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 6 Sep 2010 00:00:18 +0000 (03:00 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 6 Sep 2010 00:00:18 +0000 (03:00 +0300)
data/defaultVoretournament.cfg
data/qcsrc/client/sbar.qc

index 392a91d8b235ed2b49b9293a2e109014b5c2112e..f951e081d767219b457be854de61ba94d889e1eb 100644 (file)
@@ -1125,7 +1125,7 @@ seta sbar_scoreboard_highlight_alpha_self 0.25 "self highlight alpha value"
 seta sbar_stomachboard_color1 "0 0.5 0" "RGB color of the stomach board indicators for self"\r
 seta sbar_stomachboard_color2 "0.5 0 0" "RGB color of the stomach board indicators for predator"\r
 seta sbar_stomachboard_status_alpha 0.75 "alpha of the stomach board status"\r
-seta sbar_stomachboard_status_fade 0.0125 "color fading speed of the stomach board status"\r
+seta sbar_stomachboard_status_fade 1 "color fading speed of the stomach board status"\r
 seta sbar_stomachboard_highlight_alpha 0.25 "alpha of the stomach board highlight"\r
 seta sbar_timer_increment 0 "1 = show elapsed time on the timer"\r
 seta sbar_timer_scale 1 "scale multiplier of the timer"\r
index bea2ae5846e1343be9d42775262098ee3b20a663..62e8d5131ec4b3388690a8f9387538c49bf096c1 100644 (file)
@@ -2630,7 +2630,7 @@ vector stomachstatus_colorfade_current;
 vector StomachStatus_ColorFade(vector target_color)\r
 {\r
        local float step;\r
-       step = cvar("sbar_stomachboard_status_fade");\r
+       step = cvar("sbar_stomachboard_status_fade") * frametime;\r
 \r
        if(stomachstatus_colorfade_current_x >= target_color_x + step)\r
                stomachstatus_colorfade_current_x -= step;\r