- Exhumed: Ensure FillWeapons() recalculates the pistol clip amount after filling.

* When cheating, this wasn't done which lead to the clip having 6 rounds when via modulo it should have only had 3.
This commit is contained in:
Mitchell Richters 2021-07-17 00:11:37 +10:00
parent 7b8dcde5d2
commit 593bbe10ef

View file

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