summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-14 10:22:52 +0200
committerGitHub <noreply@github.com>2019-07-14 10:22:52 +0200
commitc6afa42f9b9c874fe737810238e52994a46304be (patch)
tree5e9a73c0b2872ab71da0f01910aeb415f02ad406 /src/render
parentMerge pull request #135 from Nick007J/master (diff)
parentFrontend fixes. (diff)
downloadre3-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 'src/render')
-rw-r--r--src/render/Hud.cpp2
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;