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
This commit is contained in:
Bukz
2013-02-13 14:27:57 +00:00
parent f07f8b6e2a
commit d7ab80ba89
+1 -1
View File
@@ -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);
}
}