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:
Molgrum 2008-02-22 22:43:34 +00:00
parent b134fd9e65
commit a066b43bf9

View file

@ -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);
}