1
0
Fork 0
forked from fte/fteqw

Fixed application of crosshairalpha, it's now all applied properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@778 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-13 17:59:57 +00:00
parent a94c12c738
commit 78e798722b

View file

@ -1269,7 +1269,6 @@ void GLDraw_Crosshair(void)
return;
}
GL_TexEnv(GL_MODULATE);
qglColor4f(1, 1, 1, crosshairalpha.value);
if (*crosshairimage.string)
{
@ -1338,6 +1337,8 @@ void GLDraw_Crosshair(void)
else
return;
qglColor4f(1, 1, 1, crosshairalpha.value);
for (sc = 0; sc < cl.splitclients; sc++)
{
SCR_CrosshairPosition(sc, &x, &y);
@ -1361,6 +1362,8 @@ void GLDraw_Crosshair(void)
// GL_TexEnv ( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE );
// GL_TexEnv ( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE );
qglColor4f(1, 1, 1, 1);
}