diff options
author | Max Horn | 2009-03-08 08:17:43 +0000 |
---|---|---|
committer | Max Horn | 2009-03-08 08:17:43 +0000 |
commit | efa5493b2d01efed5c9488b3c324469969812296 (patch) | |
tree | c363123d9895706e92e9b1e85d41eb8e2c9893e3 /engines/sci/engine/game.cpp | |
parent | 7cf72e8a177b0cbc1c7f9c9e838cf8596ab9e849 (diff) | |
download | scummvm-rg350-efa5493b2d01efed5c9488b3c324469969812296.tar.gz scummvm-rg350-efa5493b2d01efed5c9488b3c324469969812296.tar.bz2 scummvm-rg350-efa5493b2d01efed5c9488b3c324469969812296.zip |
SCI: Changed suffix list to be stored as a Common::List; also fixed spelling: suffices -> suffixes
svn-id: r39214
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r-- | engines/sci/engine/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp index a220d33f98..572fe9dc90 100644 --- a/engines/sci/engine/game.cpp +++ b/engines/sci/engine/game.cpp @@ -49,7 +49,7 @@ static int _init_vocabulary(EngineState *s) { // initialize vocabulary and relat sciprintf("Initializing vocabulary\n"); if ((s->resmgr->_sciVersion < SCI_VERSION_01_VGA) && (s->parser_words = vocab_get_words(s->resmgr, &(s->parser_words_nr)))) { - s->parser_suffices = vocab_get_suffices(s->resmgr, &(s->parser_suffices_nr)); + vocab_get_suffixes(s->resmgr, s->_parserSuffixes); if ((s->parser_branches = vocab_get_branches(s->resmgr, &(s->parser_branches_nr)))) // Now build a GNF grammar out of this s->parser_rules = vocab_build_gnf(s->parser_branches, s->parser_branches_nr); @@ -78,7 +78,7 @@ static void _free_vocabulary(EngineState *s) { if (s->parser_words) { vocab_free_words(s->parser_words, s->parser_words_nr); - vocab_free_suffices(s->resmgr, s->parser_suffices, s->parser_suffices_nr); + vocab_free_suffixes(s->resmgr, s->_parserSuffixes); vocab_free_branches(s->parser_branches); vocab_free_rule_list(s->parser_rules); } |