aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-14 09:43:17 +0100
committerWillem Jan Palenstijn2015-12-23 21:34:04 +0100
commit1120958dac976fcd6634e4001af17fabbf6fd1b5 (patch)
tree4dcaefa313f60c2bee3cf79489e1dbe411019d09
parent5848a20af28e978e0c0b70c0e2fb3433966ae5de (diff)
downloadscummvm-rg350-1120958dac976fcd6634e4001af17fabbf6fd1b5.tar.gz
scummvm-rg350-1120958dac976fcd6634e4001af17fabbf6fd1b5.tar.bz2
scummvm-rg350-1120958dac976fcd6634e4001af17fabbf6fd1b5.zip
LAB: Removed useless condition
-rw-r--r--engines/lab/engine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 2308db3115..f101c74b47 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -745,9 +745,7 @@ bool LabEngine::fromCrumbs(uint32 tmpClass, uint16 code, uint16 qualifier, Commo
perFlipButton(oldActionMode);
perFlipButton(actionMode);
-
- if (buttonId <= 4)
- drawStaticMessage(kTextTakeWhat + buttonId);
+ drawStaticMessage(kTextTakeWhat + buttonId);
}
} else if (buttonId == 9) {
doUse(kItemMap);