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