diff options
author | Willem Jan Palenstijn | 2010-07-22 21:13:06 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-07-22 21:13:06 +0000 |
commit | 688416ca3089909a025c0297a6f765bdcb95f8cc (patch) | |
tree | 439fd92e38d1e93c0e801dc52412e358ee11542d /engines/sci/parser/vocabulary.cpp | |
parent | 665ae8de9d04caa56646d00193b685008125fb1c (diff) | |
download | scummvm-rg350-688416ca3089909a025c0297a6f765bdcb95f8cc.tar.gz scummvm-rg350-688416ca3089909a025c0297a6f765bdcb95f8cc.tar.bz2 scummvm-rg350-688416ca3089909a025c0297a6f765bdcb95f8cc.zip |
SCI: Swap suffix' class_mask result_class
Now 'coldly' is correctly recognized as the adverb form of 'cold',
and 'attained' as the adjective form of 'attain'.
svn-id: r51166
Diffstat (limited to 'engines/sci/parser/vocabulary.cpp')
-rw-r--r-- | engines/sci/parser/vocabulary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp index 3b1d9d29df..d6268a26bc 100644 --- a/engines/sci/parser/vocabulary.cpp +++ b/engines/sci/parser/vocabulary.cpp @@ -203,7 +203,7 @@ bool Vocabulary::loadSuffixes() { suffix.alt_suffix_length = strlen(suffix.alt_suffix); seeker += suffix.alt_suffix_length + 1; // Hit end of string - suffix.class_mask = (int16)READ_BE_UINT16(resource->data + seeker); + suffix.result_class = (int16)READ_BE_UINT16(resource->data + seeker); seeker += 2; // Beginning of next string - skip leading '*' @@ -213,7 +213,7 @@ bool Vocabulary::loadSuffixes() { suffix.word_suffix_length = strlen(suffix.word_suffix); seeker += suffix.word_suffix_length + 1; - suffix.result_class = (int16)READ_BE_UINT16(resource->data + seeker); + suffix.class_mask = (int16)READ_BE_UINT16(resource->data + seeker); seeker += 3; // Next entry _parserSuffixes.push_back(suffix); |