diff options
author | Max Horn | 2003-02-09 00:20:52 +0000 |
---|---|---|
committer | Max Horn | 2003-02-09 00:20:52 +0000 |
commit | bfced9113947482db812742e24197d052cb9c57f (patch) | |
tree | 3a7d40c35c23488bd4fe380092033c59ca0aecfb /simon | |
parent | cc5df1b5435cc756a3ae0805b54bdb8904e70448 (diff) | |
download | scummvm-rg350-bfced9113947482db812742e24197d052cb9c57f.tar.gz scummvm-rg350-bfced9113947482db812742e24197d052cb9c57f.tar.bz2 scummvm-rg350-bfced9113947482db812742e24197d052cb9c57f.zip |
fixed regression I caused
svn-id: r6595
Diffstat (limited to 'simon')
-rw-r--r-- | simon/verb.cpp | 3 |
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; |