[Scummvm-cvs-logs] CVS: scummvm/queen command.cpp,1.6,1.7
Gregory Montoir
cyx at users.sourceforge.net
Wed Nov 5 02:10:13 CET 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv10309
Modified Files:
command.cpp
Log Message:
minor changes
Index: command.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/command.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- command.cpp 4 Nov 2003 13:51:36 -0000 1.6
+++ command.cpp 5 Nov 2003 10:09:54 -0000 1.7
@@ -1227,9 +1227,10 @@
}
if (ret > 0) {
+ debug(0, "Command::setConditions() - Failed test %X", ret);
// we've failed, so see if we need to make Joe speak
cmdGs = &_cmdGameState[ret];
- if (cmdGs->gameStateValue > 0 && lastCmd) {
+ if (cmdGs->speakValue > 0 && lastCmd) {
// check to see if fail state is in fact a cutaway
const char *objDesc = _logic->objectTextualDescription(cmdGs->speakValue);
if (!executeIfCutaway(objDesc) && !executeIfDialog(objDesc)) {
More information about the Scummvm-git-logs
mailing list