summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-13 21:07:12 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-13 21:07:12 +0100
commit13b52229be04b265e1fe3d0f76cf4b88e3e72edf (patch)
tree835de88fc06015beead8055e44c668d4d8a2dfa6 /src
parentfoobar (diff)
downloadre3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.tar
re3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.tar.gz
re3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.tar.bz2
re3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.tar.lz
re3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.tar.xz
re3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.tar.zst
re3-13b52229be04b265e1fe3d0f76cf4b88e3e72edf.zip
Diffstat (limited to 'src')
-rw-r--r--src/render/Hud.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index d7a9d75d..238dfbb5 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -449,10 +449,10 @@ void CHud::Draw()
}
if (m_WeaponState != FADED_OUT) {
CWeapon *weapon = playerPed->GetWeapon();
- uint32 AmmoAmount = CWeaponInfo::GetWeaponInfo((eWeaponType)WeaponType)->m_nAmountofAmmunition;
- uint32 AmmoInClip = weapon->m_nAmmoInClip;
- uint32 TotalAmmo = weapon->m_nAmmoTotal;
- uint32 Ammo, Clip;
+ int32 AmmoAmount = CWeaponInfo::GetWeaponInfo((eWeaponType)WeaponType)->m_nAmountofAmmunition;
+ int32 AmmoInClip = weapon->m_nAmmoInClip;
+ int32 TotalAmmo = weapon->m_nAmmoTotal;
+ int32 Ammo, Clip;
if (AmmoAmount <= 1 || AmmoAmount >= 1000)
sprintf(sTemp, "%d", TotalAmmo);