From dbd8ff22dd47dcf10edcadee1144c6cd5ec9af5e Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 9 Oct 2016 00:25:08 +1000 Subject: [PATCH] Disable unpressing attack on weapon switching by default --- defaultXonotic.cfg | 2 +- qcsrc/client/autocvars.qh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 22e0624ce..31112ee73 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -79,7 +79,7 @@ seta cl_zoomsensitivity 0 "how zoom changes sensitivity (0 = weakest, 1 = strong seta cl_unpress_zoom_on_spawn 1 "automatically unpress zoom when you spawn" seta cl_unpress_zoom_on_death 1 "automatically unpress zoom when you die (and don't allow zoom again while dead)" seta cl_unpress_zoom_on_weapon_switch 1 "automatically unpress zoom when you switch a weapon" -seta cl_unpress_attack_on_weapon_switch 1 "automatically unpress fire and fire1 attack buttons when you switch a weapon" +seta cl_unpress_attack_on_weapon_switch 0 "automatically unpress fire and fire1 attack buttons when you switch a weapon" seta cl_spawn_event_particles 1 "pointparticles effect whenever a player spawns" seta cl_spawn_event_sound 1 "sound effect whenever a player spawns" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index a4fcd3e84..33d1bc213 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -93,10 +93,10 @@ string autocvar_cl_weaponpriority; float autocvar_cl_zoomfactor; float autocvar_cl_zoomsensitivity; float autocvar_cl_zoomspeed; -bool autocvar_cl_unpress_zoom_on_spawn = 1; -bool autocvar_cl_unpress_zoom_on_death = 1; -bool autocvar_cl_unpress_zoom_on_weapon_switch = 1; -bool autocvar_cl_unpress_attack_on_weapon_switch = 1; +bool autocvar_cl_unpress_zoom_on_spawn = true; +bool autocvar_cl_unpress_zoom_on_death = true; +bool autocvar_cl_unpress_zoom_on_weapon_switch = true; +bool autocvar_cl_unpress_attack_on_weapon_switch = false; bool autocvar_con_chat; bool autocvar_con_chatrect; float autocvar_con_chatsize; -- 2.39.2