From 35ea5e48fb7de6ce729961cfd24b68f3a2fd1c78 Mon Sep 17 00:00:00 2001 From: patrikjuvonen <22572159+patrikjuvonen@users.noreply.github.com> Date: Mon, 26 Dec 2022 14:32:47 +0200 Subject: [PATCH] Fix #481: Remove flamethrower ammo multiplication by 10 --- Client/mods/deathmatch/logic/CClientPed.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Client/mods/deathmatch/logic/CClientPed.cpp b/Client/mods/deathmatch/logic/CClientPed.cpp index 41bf874ed6c..7c23f7331cc 100644 --- a/Client/mods/deathmatch/logic/CClientPed.cpp +++ b/Client/mods/deathmatch/logic/CClientPed.cpp @@ -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) {