From bb80bd8e600711fa6053c6b4c85f5e6df4952243 Mon Sep 17 00:00:00 2001 From: driAn Date: Sun, 16 Nov 2008 17:12:20 +0000 Subject: [PATCH] show team crosshair even if crosshairfx==0 git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3562 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 369c4b95..52243cbd 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -162,7 +162,7 @@ void drawcrosshair(playerent *p, int n, color *c, float size) glBindTexture(GL_TEXTURE_2D, crosshair->id); glColor3ub(255,255,255); if(c) glColor3f(c->r, c->g, c->b); - else if(crosshairfx) + else if(crosshairfx || n==CROSSHAIR_TEAMMATE) { if(n==CROSSHAIR_TEAMMATE) glColor3ub(255, 0, 0); else if(!m_osok)