aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/acci2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/acci2.h')
-rw-r--r--engines/avalanche/acci2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/avalanche/acci2.h b/engines/avalanche/acci2.h
index dab5371f42..07816cc772 100644
--- a/engines/avalanche/acci2.h
+++ b/engines/avalanche/acci2.h
@@ -60,9 +60,14 @@ public:
struct VocabEntry {
byte _number;
Common::String _word;
+
+ void init(byte number, Common::String word) {
+ _number = number;
+ _word = word;
+ }
};
- static const VocabEntry kVocabulary[kParserWordsNum];
+ VocabEntry _vocabulary[kParserWordsNum];
Common::String _realWords[11];
byte _verb, _person, _thing;