This commit is contained in:
Simon 2019-11-11 22:48:34 +00:00
parent 3bcafe27ca
commit 812e4c2c78
2 changed files with 3 additions and 9 deletions

View file

@ -988,8 +988,8 @@ void SCR_ExecuteLayoutString (char *s,float separation)
y = 0;
width = 3;
int offset_stereo=0;
if (separation>0)offset_stereo=viddef.width;
int offset_stereo= (separation>0) ? -25 : 25;
//if (separation>0)offset_stereo=viddef.width;
//offset_stereo=100;
while (s)
@ -1023,7 +1023,7 @@ void SCR_ExecuteLayoutString (char *s,float separation)
if (!strcmp(token, "yb"))
{
token = COM_Parse (&s);
y = viddef.height + atoi(token);
y = (viddef.height * 0.72) + atoi(token);
continue;
}
if (!strcmp(token, "yv"))

View file

@ -502,12 +502,6 @@ void SCR_DrawCrosshair (float separation)
, 0.75 + 0.25*sin(anglemod(cl.time*0.005)) //alpha
, crosshair_pic); //pic
#else
if (separation>0){
re.DrawPic (scr_vrect.x+scr_vrect.width + ((scr_vrect.width - crosshair_width)>>1)
, scr_vrect.y + ((scr_vrect.height - crosshair_height)>>1), crosshair_pic);
}
else
re.DrawPic (scr_vrect.x + ((scr_vrect.width - crosshair_width)>>1)
, scr_vrect.y + ((scr_vrect.height - crosshair_height)>>1), crosshair_pic);