From 9aee6f3ff6c90977d9af8203b4f331243033ecca Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 8 Oct 2006 10:43:49 +0000 Subject: Correct x position, when printing stasticsin Elvira 1 svn-id: r24198 --- engines/agos/string.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp index b0047eb3dd..44b7e515e2 100644 --- a/engines/agos/string.cpp +++ b/engines/agos/string.cpp @@ -827,13 +827,13 @@ void AGOSEngine::writeChar(WindowBlock *window, int x, int y, int offs, int val) // Clear background of first digit window->textColumnOffset = offs; window->text_color = 0; - video_putchar_drawchar(window, x, y, 129); + video_putchar_drawchar(window, x * 8, y, 129); if (val != -1) { // Print first digit chr = val / 10 + 48; window->text_color = 15; - video_putchar_drawchar(window, x, y, chr); + video_putchar_drawchar(window, x * 8, y, chr); } offs += 6; @@ -845,13 +845,13 @@ void AGOSEngine::writeChar(WindowBlock *window, int x, int y, int offs, int val) // Clear background of second digit window->textColumnOffset = offs; window->text_color = 0; - video_putchar_drawchar(window, x, y, 129); + video_putchar_drawchar(window, x * 8, y, 129); if (val != -1) { // Print second digit chr = val % 10 + 48; window->text_color = 15; - video_putchar_drawchar(window, x, y, chr); + video_putchar_drawchar(window, x * 8, y, chr); } } -- cgit v1.2.3