From cb61f2e7c64943e26f7b73a50395da179d17f82a Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 19 Sep 2019 00:32:08 +0200 Subject: HDB: Fix regression introduced in 35ff6ad --- engines/hdb/window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index c47b9a52a1..a2dde639ad 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -53,6 +53,9 @@ Window::Window() { _tryRestartY = 240; // (ok) _panicXStop = g_hdb->_screenDrawWidth / 4; _panicZoneFaceX = g_hdb->_screenDrawWidth - 32; + // TODO: Check those values! + _invItemSpaceX = 0; + _invItemSpaceY = 0; } else { _weaponX = (480 - 34); _weaponY = 2; @@ -119,8 +122,6 @@ Window::Window() { _gfxTitleM = nullptr; _gfxTitleR = nullptr; _gGfxTL = nullptr; - _invItemSpaceX = 0; - _invItemSpaceY = 0; } Window::~Window() { -- cgit v1.2.3