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:
parent
a94c12c738
commit
78e798722b
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue