aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-06-04 09:56:41 +0000
committerFilippos Karapetis2008-06-04 09:56:41 +0000
commit7e2e283a0ec7d7ecb6d27cb79f430ac2f0d8a102 (patch)
tree1dfc8eded0365c7791441727cc357b0657e503b5
parent2f92ebde2ba996660ad6e39eea89232774972190 (diff)
downloadscummvm-rg350-7e2e283a0ec7d7ecb6d27cb79f430ac2f0d8a102.tar.gz
scummvm-rg350-7e2e283a0ec7d7ecb6d27cb79f430ac2f0d8a102.tar.bz2
scummvm-rg350-7e2e283a0ec7d7ecb6d27cb79f430ac2f0d8a102.zip
Fixed regression from commit #32507
svn-id: r32532
-rw-r--r--engines/drascula/drascula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index dff32725f3..f434d9d0e5 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -1120,7 +1120,7 @@ void DrasculaEngine::checkObjects() {
void DrasculaEngine::selectVerbFromBar() {
for (int n = 0; n < 7; n++) {
- if (mouseX > verbBarX[n] && mouseX < verbBarX[n + 1]) {
+ if (mouseX > verbBarX[n] && mouseX < verbBarX[n + 1] && n > 0) {
selectVerb(n);
return;
}