From a066b43bf9d2dc7a8b1a9a54e3cb710eda1580f2 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Fri, 22 Feb 2008 22:43:34 +0000 Subject: [PATCH] show_*_* < 0 now works. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2931 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/cl_screen.c b/engine/client/cl_screen.c index 7287d5a57..02a7acf59 100644 --- a/engine/client/cl_screen.c +++ b/engine/client/cl_screen.c @@ -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); }