aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_scene.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_scene.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp
index 999393fdcb..b2c7339363 100644
--- a/engines/sherlock/scalpel/scalpel_scene.cpp
+++ b/engines/sherlock/scalpel/scalpel_scene.cpp
@@ -732,8 +732,7 @@ int ScalpelScene::findBgShape(const Common::Point &pt) {
&& o._aType <= PERSON) {
if (o.getNewBounds().contains(pt))
return idx;
- }
- else if (o._type == NO_SHAPE) {
+ } else if (o._type == NO_SHAPE) {
if (o.getNoShapeBounds().contains(pt))
return idx;
}