From 29efef6987fd2b7d382b50d45165eeefb182ba85 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 27 Sep 2020 16:19:57 +0200 Subject: [PATCH] Decompose cords in control_print_talk_msg() --- Source/control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/control.cpp b/Source/control.cpp index 513ebb8ce..44810036e 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -2633,8 +2633,8 @@ char *control_print_talk_msg(char *msg, int x, int y, int *nOffset, int color) BYTE c; int width; - x += 264; - y += 182 + PANEL_TOP; + x += 200 + SCREEN_X; + y += 22 + PANEL_Y; width = x; *nOffset = PitchTbl[y] + x; while (*msg) {