diff options
author | aap <aap@papnet.eu> | 2019-07-14 10:22:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-14 10:22:52 +0200 |
commit | c6afa42f9b9c874fe737810238e52994a46304be (patch) | |
tree | 5e9a73c0b2872ab71da0f01910aeb415f02ad406 /src/render/Hud.cpp | |
parent | Merge pull request #135 from Nick007J/master (diff) | |
parent | Frontend fixes. (diff) | |
download | re3-c6afa42f9b9c874fe737810238e52994a46304be.tar re3-c6afa42f9b9c874fe737810238e52994a46304be.tar.gz re3-c6afa42f9b9c874fe737810238e52994a46304be.tar.bz2 re3-c6afa42f9b9c874fe737810238e52994a46304be.tar.lz re3-c6afa42f9b9c874fe737810238e52994a46304be.tar.xz re3-c6afa42f9b9c874fe737810238e52994a46304be.tar.zst re3-c6afa42f9b9c874fe737810238e52994a46304be.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Hud.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index 81f27153..1db7b07c 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -325,7 +325,7 @@ void CHud::Draw() else { Clip = AmmoInClip; - if (TotalAmmo - AmmoInClip > 9999) + if ((TotalAmmo - AmmoInClip) > 9999) Ammo = 9999; else Ammo = TotalAmmo - AmmoInClip; |