- Exhumed: Move pistol clip/magazine recalculation code that was added in 593bbe10ef from FillWeapons() to CheckClip().

This commit is contained in:
Mitchell Richters 2021-07-17 14:57:00 +10:00
parent 052429f350
commit 6940384625

View file

@ -103,9 +103,6 @@ void FillWeapons(short nPlayer)
}
}
// Reset pistol's clip amount.
nPistolClip[nPlayer] = PlayerList[nPlayer].nAmmo[kWeaponPistol] % 6;
CheckClip(nPlayer);
}
@ -317,6 +314,9 @@ void CheckClip(short nPlayer)
nPlayerClip[nPlayer] = 100;
}
}
// Reset pistol's clip amount.
nPistolClip[nPlayer] = PlayerList[nPlayer].nAmmo[kWeaponPistol] % 6;
}
void MoveWeapons(short nPlayer)