aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-08 13:42:29 +0000
committerTorbjörn Andersson2006-05-08 13:42:29 +0000
commitc5d912fa1c795fd8d847c7509d3c8a7dc134aa86 (patch)
treed5b1f344f186b7879d3c6c1a858d063690bc64cb /engines
parente2656a276afa9497750cc58536c3330605d6aeec (diff)
downloadscummvm-rg350-c5d912fa1c795fd8d847c7509d3c8a7dc134aa86.tar.gz
scummvm-rg350-c5d912fa1c795fd8d847c7509d3c8a7dc134aa86.tar.bz2
scummvm-rg350-c5d912fa1c795fd8d847c7509d3c8a7dc134aa86.zip
Small cleanup. It's not that I mind fallthroughs - as long as they are clearly
labelled as being intentional - but to save just one line of code? That hardly seems worth it. svn-id: r22390
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/items.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/kyra/items.cpp b/engines/kyra/items.cpp
index 655d2a2ddd..a48481f578 100644
--- a/engines/kyra/items.cpp
+++ b/engines/kyra/items.cpp
@@ -150,8 +150,11 @@ void KyraEngine::placeItemInGenericMapScene(int item, int index) {
case 51:
if (room != 46) {
placeItem = true;
- break;
+ } else {
+ placeItem = false;
}
+ break;
+
default:
placeItem = false;
break;