Fix akimbo expiring
Before, if player switched to akimbo just as it expired, he ended up with akimbo and 0 ammo. Now his weapon will change to default weapon (the most often primary), as if he would take akimbo in the hands.
This commit is contained in:
@@ -1638,7 +1638,7 @@ void checkakimbo()
|
||||
// fix akimbo magcontent
|
||||
a.mag = 0;
|
||||
a.ammo = 0;
|
||||
if(player1->weaponsel->type==GUN_AKIMBO)
|
||||
if(player1->weaponsel->type==GUN_AKIMBO || (player1->weaponchanging && player1->nextweaponsel->type==GUN_AKIMBO))
|
||||
{
|
||||
|
||||
switch(akimboendaction)
|
||||
|
||||
Reference in New Issue
Block a user