From: otta8634 Date: Thu, 5 Dec 2024 02:28:52 +0000 (+0800) Subject: Fix datatype of some physics hud cvars X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ffc9301176610aed0b88b539fdb3bc7b83562b8a;p=xonotic%2Fxonotic-data.pk3dir.git Fix datatype of some physics hud cvars hud_panel_physics_acceleration_progressbar_mode and hud_panel_physics_acceleration_progressbar_nonlinear were previously incorrectly floats --- diff --git a/qcsrc/client/hud/panel/physics.qh b/qcsrc/client/hud/panel/physics.qh index c488f749a..9812aee13 100644 --- a/qcsrc/client/hud/panel/physics.qh +++ b/qcsrc/client/hud/panel/physics.qh @@ -3,9 +3,9 @@ bool autocvar_hud_panel_physics; float autocvar_hud_panel_physics_acceleration_movingaverage = 1; -float autocvar_hud_panel_physics_acceleration_progressbar_mode; +int autocvar_hud_panel_physics_acceleration_progressbar_mode; float autocvar_hud_panel_physics_acceleration_progressbar_scale; -float autocvar_hud_panel_physics_acceleration_progressbar_nonlinear; +bool autocvar_hud_panel_physics_acceleration_progressbar_nonlinear; float autocvar_hud_panel_physics_acceleration_max; float autocvar_hud_panel_physics_acceleration_max_slick = -1; float autocvar_hud_panel_physics_update_interval;