From 76c98a03af1bb9f5c175245d45158c79ea34a713 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 6 May 2007 09:31:32 +0000 Subject: [PATCH] Fix regression that caused input to fail, after load or save error occurs. svn-id: r26756 --- engines/agos/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/agos/window.cpp b/engines/agos/window.cpp index bf5fb457a59..768005479e9 100644 --- a/engines/agos/window.cpp +++ b/engines/agos/window.cpp @@ -215,8 +215,8 @@ void AGOSEngine::waitWindow(WindowBlock *window) { windowPutChar(window, *message); ha = findEmptyHitArea(); - ha->x = 96; - ha->y = 62; + ha->x = (window->width / 2 + window->x - 3) * 8; + ha->y = window->height * 8 + window->y - 8; ha->width = 48; ha->height = 8; ha->flags = kBFBoxInUse;