From b29d707a05e0aa21b3bfd47766cd508eba4adb3d Mon Sep 17 00:00:00 2001 From: driAn Date: Mon, 3 Nov 2008 18:44:22 +0000 Subject: [PATCH] removed redundant check git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3394 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/renderhud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index aab7f70d..9666378c 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -421,7 +421,7 @@ void drawradar(playerent *p, int w, int h) bool tm = i != team_int(p->team); if(m_htf) tm = !tm; else if(m_ktf) tm = true; - if(f.actor && tm && insideradar(centerpos, res/2, pos)) + if(tm && insideradar(centerpos, res/2, pos)) drawradarent(pos.x*coordtrans, pos.y*coordtrans, yaw, 3, m_ktf ? 2 : f.team, iconsize, true); // draw near flag thief } }