diff options
author | Arnaud Boutonné | 2010-11-11 23:04:04 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-11 23:04:04 +0000 |
commit | a0199df818a90fcd142ef7d0adbc3bbda98003ac (patch) | |
tree | 6233a08e2bc5146387bd7728ab4339df6ac6c656 /engines/hugo/parser_v2d.cpp | |
parent | a65ab98726442b0e207c2466b238535bb2a6b016 (diff) | |
download | scummvm-rg350-a0199df818a90fcd142ef7d0adbc3bbda98003ac.tar.gz scummvm-rg350-a0199df818a90fcd142ef7d0adbc3bbda98003ac.tar.bz2 scummvm-rg350-a0199df818a90fcd142ef7d0adbc3bbda98003ac.zip |
HUGO: Cleanup, move several functions and variables to the object class
svn-id: r54212
Diffstat (limited to 'engines/hugo/parser_v2d.cpp')
-rw-r--r-- | engines/hugo/parser_v2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/parser_v2d.cpp b/engines/hugo/parser_v2d.cpp index fc82412962..bbec03b8a8 100644 --- a/engines/hugo/parser_v2d.cpp +++ b/engines/hugo/parser_v2d.cpp @@ -104,7 +104,7 @@ void Parser_v2d::lineHandler() { do { noun = findNextNoun(noun); // Find a noun in the line // Must try at least once for objects allowing verb-context - for (int i = 0; i < _vm->_numObj; i++) { + for (int i = 0; i < _vm->_object->_numObj; i++) { obj = &_vm->_object->_objects[i]; if (isNear(verb, noun, obj, farComment)) { if (isObjectVerb(verb, obj) // Foreground object |