aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-30 10:01:25 -0400
committerPaul Gilbert2015-08-30 10:01:25 -0400
commit944cf4c64fd978db9b49a4317a955dc681b51089 (patch)
tree59553636a57b96751896fd8c8eb0ae1c711079f2 /engines/sherlock/scalpel/scalpel_scene.cpp
parent3430757bf44fa53ef12f5dd10f80a5fea83cc39c (diff)
downloadscummvm-rg350-944cf4c64fd978db9b49a4317a955dc681b51089.tar.gz
scummvm-rg350-944cf4c64fd978db9b49a4317a955dc681b51089.tar.bz2
scummvm-rg350-944cf4c64fd978db9b49a4317a955dc681b51089.zip
SHERLOCK: Syntax fixes
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;
}