diff options
author | Gregory Montoir | 2003-11-05 10:09:54 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-11-05 10:09:54 +0000 |
commit | 85c409dce95b7bf74f62ed8d71adba0df95fd7ff (patch) | |
tree | a317bae16bae6bffca387836a44a9d67885ed6ad | |
parent | 829b4464fd97ff0239fb3723f20c0472adc17db0 (diff) | |
download | scummvm-rg350-85c409dce95b7bf74f62ed8d71adba0df95fd7ff.tar.gz scummvm-rg350-85c409dce95b7bf74f62ed8d71adba0df95fd7ff.tar.bz2 scummvm-rg350-85c409dce95b7bf74f62ed8d71adba0df95fd7ff.zip |
minor changes
svn-id: r11147
-rw-r--r-- | queen/command.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index 3174e3114e..cd3a6c278e 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -1227,9 +1227,10 @@ int16 Command::setConditions(uint16 command, bool lastCmd) { } 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)) { |