Fix flag icon displaying on the radar

This commit is contained in:
aurhat
2021-02-14 20:03:14 +01:00
committed by drian
parent 143890eab9
commit 01c5c98328
+2 -2
View File
@@ -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)
{