From d7ab80ba898b875da190909f73b1be167ee30fca Mon Sep 17 00:00:00 2001 From: Bukz Date: Wed, 13 Feb 2013 14:27:57 +0000 Subject: [PATCH] auto-switch to akimbo if curweapon==pistol regardless of akimboautoswitch git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7194 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index c12b728a..0e701be1 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -1510,7 +1510,7 @@ void akimbo::onammopicked() if(owner==player1) { // if(owner->weaponsel->type!=GUN_SNIPER && owner->weaponsel->type!=GUN_GRENADE) owner->weaponswitch(this); - if(akimboautoswitch) owner->weaponswitch(this); // Give the client full control over akimbo auto-switching // Bukz 2011apr23 + if(akimboautoswitch || owner->weaponsel->type==GUN_PISTOL) owner->weaponswitch(this); // Give the client full control over akimbo auto-switching // Bukz 2011apr23 addmsg(SV_AKIMBO, "ri", lastmillis); } }