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
This commit is contained in:
driAn
2008-11-16 17:12:20 +00:00
parent 3f969c3ded
commit bb80bd8e60
+1 -1
View File
@@ -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)