diff options
author | Strangerke | 2016-04-17 21:41:56 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | 82db01550a5427408eb6922c715348c2767f3da2 (patch) | |
tree | 92f14f562cadd11c57120fe6f4c07a1df25453d8 /engines | |
parent | be10dd378cea478c958d68aea2bda9232ae4ce75 (diff) | |
download | scummvm-rg350-82db01550a5427408eb6922c715348c2767f3da2.tar.gz scummvm-rg350-82db01550a5427408eb6922c715348c2767f3da2.tar.bz2 scummvm-rg350-82db01550a5427408eb6922c715348c2767f3da2.zip |
GNAP: Fix hotspots in scene 30
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gnap/scenes/scene30.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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(); |