[Scummvm-cvs-logs] scummvm master -> c4e8ea9e54281eff30572b6456d95a7fb55a74c5

Strangerke Strangerke at scummvm.org
Sun Jun 5 00:39:11 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c4e8ea9e54 GNAP: Fix crash in scene 17


Commit: c4e8ea9e54281eff30572b6456d95a7fb55a74c5
    https://github.com/scummvm/scummvm/commit/c4e8ea9e54281eff30572b6456d95a7fb55a74c5
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-06-05T00:30:36+02:00

Commit Message:
GNAP: Fix crash in scene 17

Changed paths:
    engines/gnap/scenes/group1.cpp



diff --git a/engines/gnap/scenes/group1.cpp b/engines/gnap/scenes/group1.cpp
index bd152c7..e50e8cc 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);






More information about the Scummvm-git-logs mailing list