Skip to content

Commit 35ea5e4

Browse files
committed
Fix #481: Remove flamethrower ammo multiplication by 10
1 parent 059ddfa commit 35ea5e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Client/mods/deathmatch/logic/CClientPed.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2057,10 +2057,6 @@ void CClientPed::SetFrozenWaitingForGroundToLoad(bool bFrozen)
20572057

20582058
CWeapon* CClientPed::GiveWeapon(eWeaponType weaponType, unsigned int uiAmmo, bool bSetAsCurrent)
20592059
{
2060-
// Multiply ammo with 10 if flamethrower to get the numbers correct.
2061-
if (weaponType == WEAPONTYPE_FLAMETHROWER)
2062-
uiAmmo *= 10;
2063-
20642060
CWeapon* pWeapon = NULL;
20652061
if (m_pPlayerPed)
20662062
{

0 commit comments

Comments
 (0)