[Scummvm-cvs-logs] SF.net SVN: scummvm:[51166] scummvm/trunk/engines/sci/parser/vocabulary.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Thu Jul 22 23:13:07 CEST 2010
Revision: 51166
http://scummvm.svn.sourceforge.net/scummvm/?rev=51166&view=rev
Author: wjpalenstijn
Date: 2010-07-22 21:13:06 +0000 (Thu, 22 Jul 2010)
Log Message:
-----------
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'.
Modified Paths:
--------------
scummvm/trunk/engines/sci/parser/vocabulary.cpp
Modified: scummvm/trunk/engines/sci/parser/vocabulary.cpp
===================================================================
--- scummvm/trunk/engines/sci/parser/vocabulary.cpp 2010-07-22 21:06:45 UTC (rev 51165)
+++ scummvm/trunk/engines/sci/parser/vocabulary.cpp 2010-07-22 21:13:06 UTC (rev 51166)
@@ -203,7 +203,7 @@
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 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list