]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Removing short fade in cvar - we really never want fade in for counts
authorz411 <z411@omaera.org>
Sat, 19 Mar 2022 23:35:19 +0000 (20:35 -0300)
committerz411 <z411@omaera.org>
Sat, 19 Mar 2022 23:35:19 +0000 (20:35 -0300)
_hud_common.cfg
qcsrc/client/hud/panel/centerprint.qc
qcsrc/client/hud/panel/centerprint.qh

index 8e6888aec035771d52b2d11468c161fb8bfde347..5fdba67215a5ebebce6c9bb2c89e8d92bbd9de9d 100644 (file)
@@ -120,7 +120,6 @@ seta hud_panel_infomessages_group_fadetime 0.4 "group message fade in/out time"
 
 seta hud_panel_centerprint_time 3 "message duration (NOTE: certain messages have a fixed duration)"
 seta hud_panel_centerprint_fade_in 0 "how long a message takes to fade in"
-seta hud_panel_centerprint_fade_in_short 0 " "how long a message that lasts 2 or less seconds takes to fade in"
 seta hud_panel_centerprint_fade_out 0.15 "how long a message takes to fade out (this time is included in the message duration and can't be > 5)"
 seta hud_panel_centerprint_fade_subsequent 1 "enable extra fading effects for each additional message, so that the more messages you have the more they become faded out"
 seta hud_panel_centerprint_fade_subsequent_passone 3 "division factor for the first pass for alpha fading, with 2 all messages after the first have half alpha"
index 13ab741d723464bdc8d85a4514328b2ca2e51cde..e158ce58519d7a9730feae8f08c856a8a5c1da3c 100644 (file)
@@ -315,7 +315,7 @@ void HUD_CenterPrint()
                float fade_out_time = autocvar_hud_panel_centerprint_fade_out;
 
                if (centerprint_countdown_num[j]) {
-                       fade_in_time = autocvar_hud_panel_centerprint_fade_in_short;
+                       fade_in_time = 0;
                        fade_out_time = 0;
                }
 
index 5bc51882f5f93ffec7fbb911a51768715aef7d2b..01ebd625582839524ebf0a85bdd08b78e866ae39 100644 (file)
@@ -4,7 +4,6 @@
 bool autocvar_hud_panel_centerprint;
 float autocvar_hud_panel_centerprint_align;
 float autocvar_hud_panel_centerprint_fade_in = 0.15;
-float autocvar_hud_panel_centerprint_fade_in_short = 0;
 float autocvar_hud_panel_centerprint_fade_out = 0.15;
 float autocvar_hud_panel_centerprint_fade_subsequent = 1;
 float autocvar_hud_panel_centerprint_fade_subsequent_passone = 3;