aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-02-09 00:20:52 +0000
committerMax Horn2003-02-09 00:20:52 +0000
commitbfced9113947482db812742e24197d052cb9c57f (patch)
tree3a7d40c35c23488bd4fe380092033c59ca0aecfb
parentcc5df1b5435cc756a3ae0805b54bdb8904e70448 (diff)
downloadscummvm-rg350-bfced9113947482db812742e24197d052cb9c57f.tar.gz
scummvm-rg350-bfced9113947482db812742e24197d052cb9c57f.tar.bz2
scummvm-rg350-bfced9113947482db812742e24197d052cb9c57f.zip
fixed regression I caused
svn-id: r6595
-rw-r--r--simon/verb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/simon/verb.cpp b/simon/verb.cpp
index 21ce1fb591..38334e5c1c 100644
--- a/simon/verb.cpp
+++ b/simon/verb.cpp
@@ -120,9 +120,10 @@ void SimonState::focusVerb(uint hitarea_id)
case 1: verb_prep_names = german_verb_prep_names; break;
default: verb_prep_names = english_verb_prep_names; break;
}
- CHECK_BOUNDS(hitarea_id, verb_prep_names);
+ CHECK_BOUNDS(hitarea_id, english_verb_prep_names);
txt = verb_prep_names[hitarea_id];
} else {
+ CHECK_BOUNDS(hitarea_id, verb_names);
txt = verb_names[hitarea_id];
}
x = (53 - strlen(txt)) * 3;