[Scummvm-git-logs] scummvm master -> 1bf73b9cf1079cd7a6eaf0766d9f312330734624
dreammaster
dreammaster at scummvm.org
Wed Oct 5 03:57: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:
1bf73b9cf1 SHERLOCK: SS: Fix hotspots remaining after items are picked up
Commit: 1bf73b9cf1079cd7a6eaf0766d9f312330734624
https://github.com/scummvm/scummvm/commit/1bf73b9cf1079cd7a6eaf0766d9f312330734624
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-10-04T21:57:16-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