From 39027099a86fc02083adbe002ca413509bce597f Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 1 Jul 2010 14:59:31 +0300 Subject: [PATCH] Make some comments sound better --- defaultXonotic.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 00b5aef58d..82795ba612 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1530,9 +1530,9 @@ alias _gl_flashblend_update_01 "gl_flashblend 0" alias _gl_flashblend_update_11 "gl_flashblend 0" alias gl_flashblend_update "_gl_flashblend_update_$r_shadow_realtime_dlight$r_showsurfaces" -// this script allows swapping the primary and secondary fire buttons of any weapon, using the cl_swapattacks_* cvars. -// This part of the code keeps us firing when we switch weapons while holding a fire button pressed. -// Also updates the effect immediately, so you don't have to switch to another weapon and back for changes to be applied +// this script allows swapping the primary and secondary fire buttons for any weapon, using the cl_swapattacks_* cvars. +// This part of the code is necessary to keep us firing when we switch weapons while holding a fire button pressed. +// Also updates the effect immediately, so you don't have to switch to another weapon and back for changes to take place set preattack_last 0 set preattack2_last 0 alias +preattack "set preattack_last 1; firing_swap2 $firing_lastweapon; +checkattack" -- 2.39.2