From 85c409dce95b7bf74f62ed8d71adba0df95fd7ff Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Wed, 5 Nov 2003 10:09:54 +0000 Subject: minor changes svn-id: r11147 --- queen/command.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- cgit v1.2.3