From 4b3eb3388ef7c1dfff9d1cc29393abd466893ffe Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 17 Oct 2009 10:50:39 +0000 Subject: SCI/newgui: menuPort gets id 0xFFFF assigned, fixes kq5 mouse coordination svn-id: r45179 --- engines/sci/gui/gui_gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index b4f2e224b0..de26e15452 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -63,7 +63,7 @@ void SciGuiGfx::init() { OpenPort(_mainPort); // _menuPort has actually hardcoded id 0xFFFF. Its not meant to be known to windowmanager according to sierra sci - _menuPort = new GuiPort(0); + _menuPort = new GuiPort(0xFFFF); OpenPort(_menuPort); SetFont(0); _menuPort->rect = Common::Rect(0, 0, _screen->_width, _screen->_height); -- cgit v1.2.3