]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix datatype of some physics hud cvars
authorotta8634 <k9wolf@pm.me>
Thu, 5 Dec 2024 02:28:52 +0000 (10:28 +0800)
committerotta8634 <k9wolf@pm.me>
Thu, 5 Dec 2024 02:28:52 +0000 (10:28 +0800)
hud_panel_physics_acceleration_progressbar_mode and hud_panel_physics_acceleration_progressbar_nonlinear were previously incorrectly floats

qcsrc/client/hud/panel/physics.qh

index c488f749a6bf7defc8ec71188857cd078c400c47..9812aee13ce189ff76c712d3217821853ce09f8a 100644 (file)
@@ -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;