[Scummvm-cvs-logs] SF.net SVN: scummvm: [25427] scummvm/trunk/engines/parallaction/dialogue. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Thu Feb 8 22:08:55 CET 2007
Revision: 25427
http://scummvm.svn.sourceforge.net/scummvm/?rev=25427&view=rev
Author: peres001
Date: 2007-02-08 13:08:54 -0800 (Thu, 08 Feb 2007)
Log Message:
-----------
fixed bug in dialogue parsing code: available answers now really depend on game flags
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/dialogue.cpp
Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp 2007-02-08 09:41:10 UTC (rev 25426)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp 2007-02-08 21:08:54 UTC (rev 25427)
@@ -110,13 +110,13 @@
byte _al = _vm->searchTable(_tokens[v56]+2, v60);
vB4->_noFlags[_di] |= 1 << (_al - 1);
} else {
- byte _al = _vm->searchTable(_tokens[v56]+2, v60);
+ byte _al = _vm->searchTable(_tokens[v56], v60);
vB4->_yesFlags[_di] |= 1 << (_al - 1);
}
v56++;
- } while (!scumm_stricmp(_tokens[v56], "|"));
+ } while (!scumm_stricmp(_tokens[v56++], "|"));
}
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