From 7ba5f6a13a7bbf4870759ec98c0dbb853813c1af Mon Sep 17 00:00:00 2001 From: _AG Date: Thu, 11 Jul 2019 23:29:59 +0200 Subject: Frontend fixes. Fix #125 #119 #105 #98 #54. --- src/render/Hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render') 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; -- cgit v1.2.3 From 424487854bfe4214888118038ae20f7f3d1ce38c Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 14 Jul 2019 12:46:36 +0200 Subject: started making frontend accurate to game --- src/render/Renderer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render') 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); -- cgit v1.2.3