From e4119a8618658652972c6a5ade9eb47492ea5608 Mon Sep 17 00:00:00 2001 From: Andrei Pana Date: Mon, 30 Aug 2021 23:28:16 -0400 Subject: [PATCH] Update main.cpp --- src/core/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/main.cpp b/src/core/main.cpp index e84c6eeb..5e27118b 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1449,7 +1449,11 @@ Render2dStuff(void) firstPersonWeapon = true; // Draw black border for sniper and rocket launcher - if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_ROCKETLAUNCHER || weaponType == WEAPONTYPE_LASERSCOPE) && firstPersonWeapon){ +#ifdef FIX_BUGS + if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_LASERSCOPE) && firstPersonWeapon) { +#else + if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_ROCKETLAUNCHER || weaponType == WEAPONTYPE_LASERSCOPE) && firstPersonWeapon) { +#endif CRGBA black(0, 0, 0, 255); // top and bottom strips -- 2.45.2