Skip to content

Commit

Permalink
Fix #481: Remove flamethrower ammo multiplication by 10
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikjuvonen committed Dec 26, 2022
1 parent 059ddfa commit 35ea5e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Client/mods/deathmatch/logic/CClientPed.cpp
Expand Up @@ -2057,10 +2057,6 @@ void CClientPed::SetFrozenWaitingForGroundToLoad(bool bFrozen)

CWeapon* CClientPed::GiveWeapon(eWeaponType weaponType, unsigned int uiAmmo, bool bSetAsCurrent)
{
// Multiply ammo with 10 if flamethrower to get the numbers correct.
if (weaponType == WEAPONTYPE_FLAMETHROWER)
uiAmmo *= 10;

CWeapon* pWeapon = NULL;
if (m_pPlayerPed)
{
Expand Down

0 comments on commit 35ea5e4

Please sign in to comment.