[Scummvm-git-logs] scummvm master -> cb61f2e7c64943e26f7b73a50395da179d17f82a

Strangerke Strangerke at scummvm.org
Thu Sep 19 00:33:52 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
cb61f2e7c6 HDB: Fix regression introduced in 35ff6ad


Commit: cb61f2e7c64943e26f7b73a50395da179d17f82a
    https://github.com/scummvm/scummvm/commit/cb61f2e7c64943e26f7b73a50395da179d17f82a
Author: Strangerke (strangerke at scummvm.org)
Date: 2019-09-19T00:32:08+02:00

Commit Message:
HDB: Fix regression introduced in 35ff6ad

Changed paths:
    engines/hdb/window.cpp


diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp
index c47b9a5..a2dde63 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() {





More information about the Scummvm-git-logs mailing list