From: Mircea Kitsune Date: Thu, 1 Jul 2010 11:59:31 +0000 (+0300) Subject: Make some comments sound better X-Git-Tag: xonotic-v0.1.0preview~504 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=39027099a86fc02083adbe002ca413509bce597f;p=xonotic%2Fxonotic-data.pk3dir.git Make some comments sound better --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 00b5aef58..82795ba61 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"