[Scummvm-git-logs] scummvm branch-1-9 -> 8d48df40d13c86e93891592ae430426d6fc1b862
dreammaster
dreammaster at scummvm.org
Wed Oct 5 04:07:22 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:
8d48df40d1 SHERLOCK: SS: Fix hotspots remaining after items are picked up
Commit: 8d48df40d13c86e93891592ae430426d6fc1b862
https://github.com/scummvm/scummvm/commit/8d48df40d13c86e93891592ae430426d6fc1b862
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-10-04T21:58:47-04:00
Commit Message:
SHERLOCK: SS: Fix hotspots remaining after items are picked up
Changed paths:
engines/sherlock/scalpel/scalpel_scene.cpp
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp
index 11fb807..3a7c04b 100644
--- a/engines/sherlock/scalpel/scalpel_scene.cpp
+++ b/engines/sherlock/scalpel/scalpel_scene.cpp
@@ -741,7 +741,7 @@ int ScalpelScene::findBgShape(const Common::Point &pt) {
for (int idx = (int)_bgShapes.size() - 1; idx >= 0; --idx) {
Object &o = _bgShapes[idx];
if (o._type != INVALID && o._type != NO_SHAPE && o._type != HIDDEN
- && o._aType <= PERSON) {
+ && o._type != REMOVE && o._aType <= PERSON) {
if (o.getNewBounds().contains(pt))
return idx;
} else if (o._type == NO_SHAPE) {
More information about the Scummvm-git-logs
mailing list