aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-08 10:43:49 +0000
committerTravis Howell2006-10-08 10:43:49 +0000
commit9aee6f3ff6c90977d9af8203b4f331243033ecca (patch)
tree632146a9a19d5a9dae3118ebb0d2f3f9280cdf33 /engines/agos/string.cpp
parent0317b11460349d89e2cfb7d7aecc79eb54e5ca64 (diff)
downloadscummvm-rg350-9aee6f3ff6c90977d9af8203b4f331243033ecca.tar.gz
scummvm-rg350-9aee6f3ff6c90977d9af8203b4f331243033ecca.tar.bz2
scummvm-rg350-9aee6f3ff6c90977d9af8203b4f331243033ecca.zip
Correct x position, when printing stasticsin Elvira 1
svn-id: r24198
Diffstat (limited to 'engines/agos/string.cpp')
-rw-r--r--engines/agos/string.cpp8
1 files 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);
}
}