aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-17 10:50:39 +0000
committerMartin Kiewitz2009-10-17 10:50:39 +0000
commit4b3eb3388ef7c1dfff9d1cc29393abd466893ffe (patch)
tree4ee4699abc667e71f70c1e333fa05b025ad28dbf
parentcc31846eb51cb42575f351f30c305d365fd3f812 (diff)
downloadscummvm-rg350-4b3eb3388ef7c1dfff9d1cc29393abd466893ffe.tar.gz
scummvm-rg350-4b3eb3388ef7c1dfff9d1cc29393abd466893ffe.tar.bz2
scummvm-rg350-4b3eb3388ef7c1dfff9d1cc29393abd466893ffe.zip
SCI/newgui: menuPort gets id 0xFFFF assigned, fixes kq5 mouse coordination
svn-id: r45179
-rw-r--r--engines/sci/gui/gui_gfx.cpp2
1 files changed, 1 insertions, 1 deletions
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);