Revert "Update main.cpp"

This reverts commit e4119a8618.
This commit is contained in:
Andrei Pana 2021-09-11 01:32:31 -04:00
parent e4119a8618
commit 27ff1047be
1 changed files with 1 additions and 5 deletions

View File

@ -1449,11 +1449,7 @@ Render2dStuff(void)
firstPersonWeapon = true;
// Draw black border for sniper and rocket launcher
#ifdef FIX_BUGS
if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_LASERSCOPE) && firstPersonWeapon) {
#else
if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_ROCKETLAUNCHER || weaponType == WEAPONTYPE_LASERSCOPE) && firstPersonWeapon) {
#endif
if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_ROCKETLAUNCHER || weaponType == WEAPONTYPE_LASERSCOPE) && firstPersonWeapon){
CRGBA black(0, 0, 0, 255);
// top and bottom strips