diff options
author | Arnaud Boutonné | 2010-02-02 23:45:14 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-02-02 23:45:14 +0000 |
commit | 86aa70ec4b10fcb931c5a819fe7953a7301fa252 (patch) | |
tree | 3aa01672c560bb4bca759cc111611d6f6a061b99 /engines | |
parent | f072709f25b23497695b2f3e1249952a524c3c7f (diff) | |
download | scummvm-rg350-86aa70ec4b10fcb931c5a819fe7953a7301fa252.tar.gz scummvm-rg350-86aa70ec4b10fcb931c5a819fe7953a7301fa252.tar.bz2 scummvm-rg350-86aa70ec4b10fcb931c5a819fe7953a7301fa252.zip |
Fascination - comment calls to getWindow() in checkMouse(). I think getWindow() is wrong, and to be replaced with my new check. The first window reacts !
svn-id: r47829
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/hotspots.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp index 84d78b257a..75cad9c143 100644 --- a/engines/gob/hotspots.cpp +++ b/engines/gob/hotspots.cpp @@ -585,9 +585,9 @@ uint16 Hotspots::checkMouse(Type type, uint16 &id, uint16 &index) const { // Only consider click and move hotspots continue; - if (spot.getWindow() != 0) +// if (spot.getWindow() != 0) // Only check the main window - continue; +// continue; if (!spot.isIn(_vm->_global->_inter_mouseX - dx, _vm->_global->_inter_mouseY - dy)) // If we're not in it, ignore it @@ -615,9 +615,9 @@ uint16 Hotspots::checkMouse(Type type, uint16 &id, uint16 &index) const { if ((spot.flags & 0xFF00) != winId) continue; - if (spot.getWindow() != 0) +// if (spot.getWindow() != 0) // Only check the main window - continue; +// continue; if (spot.getType() < kTypeMove) // Only consider hotspots that can be clicked |