diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-07-16 16:01:49 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-07-16 16:01:49 +0200 |
commit | 5b394133a2e0b9b3acc79f7f23cdc3bba786ef56 (patch) | |
tree | 4d1cf12d1f71ff1f6afdaa39dee0a3e3e16d61bd /src/render | |
parent | Phone, World, Ped (diff) | |
parent | started making frontend accurate to game (diff) | |
download | re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.gz re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.bz2 re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.lz re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.xz re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.zst re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Hud.cpp | 2 | ||||
-rw-r--r-- | src/render/Renderer.h | 2 |
2 files changed, 3 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; diff --git a/src/render/Renderer.h b/src/render/Renderer.h index 4b96c775..5d3436c3 100644 --- a/src/render/Renderer.h +++ b/src/render/Renderer.h @@ -23,7 +23,9 @@ class CRenderer static CVector &ms_vecCameraPosition; static CVehicle *&m_pFirstPersonVehicle; + public: + static float &ms_lodDistScale; // defined in Frontend.cpp static bool &m_loadingPriority; static void Init(void); |