This commit is contained in:
Andrei Pana 2021-09-02 14:56:39 -04:00 committed by GitHub
commit 517113e99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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