From: divverent Date: Thu, 3 Sep 2009 05:25:55 +0000 (+0000) Subject: as requested by LH, #if 0 out cycleweapon X-Git-Tag: xonotic-v0.1.0preview~1475 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=703581c3bb5aae04e3f1160d907805e68e227354;p=xonotic%2Fdarkplaces.git as requested by LH, #if 0 out cycleweapon git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9157 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index 54d3c33d..dd5b17e9 100644 --- a/cl_input.c +++ b/cl_input.c @@ -301,6 +301,7 @@ void IN_BestWeapon (void) // if we couldn't find any of the weapons, there's nothing more we can do... } +#if 0 void IN_CycleWeapon (void) { int i, n; @@ -347,6 +348,7 @@ void IN_CycleWeapon (void) } // if we couldn't find any of the weapons, there's nothing more we can do... } +#endif /* =============== @@ -1978,7 +1980,9 @@ void CL_InitInput (void) // LordHavoc: added bestweapon command Cmd_AddCommand ("bestweapon", IN_BestWeapon, "send an impulse number to server to select the first usable weapon out of several (example: 8 7 6 5 4 3 2 1)"); +#if 0 Cmd_AddCommand ("cycleweapon", IN_CycleWeapon, "send an impulse number to server to select the next usable weapon out of several (example: 9 4 8) if you are holding one of these, and choose the first one if you are holding none of these"); +#endif Cmd_AddCommand ("register_bestweapon", IN_BestWeapon_Register_f, "(for QC usage only) change weapon parameters to be used by bestweapon; stuffcmd this in ClientConnect"); Cvar_RegisterVariable(&cl_movecliptokeyboard);