]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bring back hud_showbinds in defaultXonotic.cfg with a better definition
authorterencehill <piuntn@gmail.com>
Tue, 31 Aug 2010 21:09:11 +0000 (23:09 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 31 Aug 2010 21:09:11 +0000 (23:09 +0200)
This actually fixes vote panel not recognizing the keys to vote

I'm sorry for having suggested to FruitieX the removal of this cvar a while ago, I didn't realize the code to read this cvar was moved within getcommandkey function.

defaultXonotic.cfg

index c9b5cd7df79c91123bc9b5a1ed9d7b90cf417f37..559fa88119da50e52550a91944f95d62cec82745 100644 (file)
@@ -1376,6 +1376,9 @@ seta hud_panel_engineinfo_framecounter_exponentialmovingaverage 1 "use an averag
 seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point"
 seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster"
 
+seta hud_showbinds 1   "the way to show the keys to press in HUD messages: 0 displays only actions, 1 only bound keys, 2 both"
+seta hud_showbinds_limit 2     "maximum number of bound keys to show for an action. 0 for unlimited"
+
 // scoreboard
 seta scoreboard_columns default
 seta scoreboard_border_thickness 1 "scoreboard border thickness"