From 01c5c98328306b2428034216bc08b782977447e4 Mon Sep 17 00:00:00 2001 From: aurhat Date: Tue, 16 Jun 2020 00:14:08 +0200 Subject: [PATCH] Fix flag icon displaying on the radar --- source/src/renderhud.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index 76a3c38d..442ffd2e 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -541,7 +541,7 @@ void drawradar_showmap(playerent *p, int w, int h) } if(f.state == CTFF_STOLEN) { - if(m_teammode && !m_ktf && player1->team == TEAM_SPECT && p->spectatemode > SM_FOLLOW3RD_TRANSPARENT) continue; + if(m_teammode && !m_ktf && player1->team == TEAM_SPECT && (p->spectatemode == SM_DEATHCAM || p->spectatemode > SM_FOLLOW3RD_TRANSPARENT)) continue; float d2c = 1.6f * radarentsize/16.0f; vec apos(d2c, -d2c, 0); if(f.actor) @@ -645,7 +645,7 @@ void drawradar_vicinity(playerent *p, int w, int h) } if(f.state == CTFF_STOLEN) { - if(m_teammode && !m_ktf && player1->team == TEAM_SPECT && p->spectatemode > SM_FOLLOW3RD_TRANSPARENT) continue; + if(m_teammode && !m_ktf && player1->team == TEAM_SPECT && (p->spectatemode == SM_DEATHCAM || p->spectatemode > SM_FOLLOW3RD_TRANSPARENT)) continue; vec apos(d2c, -d2c, 0); if(f.actor) {