show_*_* < 0 now works.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2931 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b134fd9e65
commit
a066b43bf9
1 changed files with 2 additions and 2 deletions
|
@ -1252,9 +1252,9 @@ void SCR_DrawNet (void)
|
|||
void SCR_StringXY(char *str, float x, float y)
|
||||
{
|
||||
if (x < 0)
|
||||
x = vid.width - strlen(str)*8;
|
||||
x = vid.width + x*strlen(str)*8;
|
||||
if (y < 0)
|
||||
y = vid.height - sb_lines - 8;
|
||||
y = vid.height - sb_lines + y*8;
|
||||
|
||||
Draw_String(x, y, str);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue