aboutsummaryrefslogtreecommitdiff
path: root/queen/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queen/command.cpp')
-rw-r--r--queen/command.cpp3
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)) {