diff options
-rw-r--r-- | queen/command.cpp | 4 | ||||
-rw-r--r-- | queen/command.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index 29a48e4c48..e5e0369bf6 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -442,7 +442,9 @@ int16 Command::executeCommand(uint16 comId, int16 condResult) { break; } - changeObjectState(_state.selAction, _state.subject[0], com->song, cutDone); + if (_state.subject[0] > 0) { + changeObjectState(_state.selAction, _state.subject[0], com->song, cutDone); + } // execute.c l.533-548 // FIXME: useless test, as .dog has already been played diff --git a/queen/command.h b/queen/command.h index 38b726b127..0bf7c4d754 100644 --- a/queen/command.h +++ b/queen/command.h @@ -134,7 +134,7 @@ private: //! speak description of selected object void lookAtSelectedObject(); - //! get the current objects under the cursor + //! get the current object under the cursor void lookForCurrentObject(); //! get the current icon panel under the cursor (inventory item or verb) |