]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
Of COURSE this effect is frametime dependent
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
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