aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/hotspots.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index 639a810ea8..7c29a72fdf 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -555,10 +555,11 @@ uint16 Hotspots::checkMouse(Type type, uint16 &id, uint16 &index) const {
int16 dy = 0;
int16 winId = -1;
- if (_vm->getGameType() == kGameTypeFascination)
+ if (_vm->getGameType() == kGameTypeFascination) {
winId = _vm->_draw->isOverWin(dx, dy);
- warning("checkmouse %d - %d %d", winId, dx, dy);
+ warning("checkmouse %d - %d %d", winId, dx, dy);
+ }
if (winId < 0) {
winId = 0;