aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/string.cpp
diff options
context:
space:
mode:
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);
}
}