aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queen/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/command.cpp b/queen/command.cpp
index 873dcda549..29a48e4c48 100644
--- a/queen/command.cpp
+++ b/queen/command.cpp
@@ -391,7 +391,7 @@ int16 Command::executeCommand(uint16 comId, int16 condResult) {
setItems(comId);
}
- if (com->imageOrder != 0) {
+ if (com->imageOrder != 0 && _state.subject[0] > 0) {
ObjectData *od = _vm->logic()->objectData(_state.subject[0]);
// we must update the graphic image of the object
if (com->imageOrder < 0) {