From 82db01550a5427408eb6922c715348c2767f3da2 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 17 Apr 2016 21:41:56 +0200 Subject: GNAP: Fix hotspots in scene 30 --- engines/gnap/scenes/scene30.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/gnap/scenes/scene30.cpp b/engines/gnap/scenes/scene30.cpp index 5344d3f724..089e50e134 100644 --- a/engines/gnap/scenes/scene30.cpp +++ b/engines/gnap/scenes/scene30.cpp @@ -50,8 +50,8 @@ int GnapEngine::scene30_init() { void GnapEngine::scene30_updateHotspots() { setHotspot(kHSPlatypus, 0, 0, 0, 0, SF_WALKABLE | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR); setHotspot(kHSPillMachine, 598, 342, 658, 426, SF_PLAT_CURSOR | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR, 9, 7); - setHotspot(kHSExitCircus, 100, 590, 700, 600, SF_EXIT_D_CURSOR | SF_WALKABLE, 5, 9); - setHotspot(kHSExitCircus, 0, 0, 800, 514); + setHotspot(kHSExitCircus, 100, 590 - _deviceY1, 700, 600, SF_EXIT_D_CURSOR | SF_WALKABLE, 5, 9); + setHotspot(kHSWalkArea1, 0, 0, 800, 514); setDeviceHotspot(kHSDevice, -1, -1, -1, -1); _hotspotsCount = 5; } @@ -82,7 +82,6 @@ void GnapEngine::scene30_run() { platypusWalkTo(6, 8, -1, 0x107C2, 1); while (!_sceneDone) { - updateMouseCursor(); updateCursorByHotspot(); @@ -90,7 +89,6 @@ void GnapEngine::scene30_run() { updateGrabCursorSprite(0, 0); switch (_sceneClickedHotspot) { - case kHSDevice: if (_gnapActionStatus < 0) { runMenu(); -- cgit v1.2.3