aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap
diff options
context:
space:
mode:
authorStrangerke2016-06-05 00:30:36 +0200
committerStrangerke2016-06-05 00:30:36 +0200
commitc4e8ea9e54281eff30572b6456d95a7fb55a74c5 (patch)
tree8fad9727754f8f5e94e567b07827a8009863fb3f /engines/gnap
parent561d7c88296b37713ee1f385f06c262ad53202d4 (diff)
downloadscummvm-rg350-c4e8ea9e54281eff30572b6456d95a7fb55a74c5.tar.gz
scummvm-rg350-c4e8ea9e54281eff30572b6456d95a7fb55a74c5.tar.bz2
scummvm-rg350-c4e8ea9e54281eff30572b6456d95a7fb55a74c5.zip
GNAP: Fix crash in scene 17
Diffstat (limited to 'engines/gnap')
-rw-r--r--engines/gnap/scenes/group1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gnap/scenes/group1.cpp b/engines/gnap/scenes/group1.cpp
index bd152c7f39..e50e8cc959 100644
--- a/engines/gnap/scenes/group1.cpp
+++ b/engines/gnap/scenes/group1.cpp
@@ -2324,7 +2324,8 @@ int Scene17::init() {
}
void Scene17::updateHotspots() {
- _vm->setHotspot(kHS17Platypus, 1, 0, 0, 0, SF_WALKABLE | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR);
+ // The original is using (1, 0, 0, 0)
+ _vm->setHotspot(kHS17Platypus, 0, 0, 0, 0, SF_WALKABLE | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR);
_vm->setHotspot(kHS17Phone1, 61, 280, 97, 322, SF_PLAT_CURSOR | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR, 1, 7);
_vm->setHotspot(kHS17Phone2, 80, 204, 178, 468, SF_PLAT_CURSOR | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR, 1, 7);
_vm->setHotspot(kHS17ExitGrubCity, 196, 207, 280, 304, SF_EXIT_U_CURSOR, 3, 5);