diff options
author | Gregory Montoir | 2004-02-28 09:02:43 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-02-28 09:02:43 +0000 |
commit | 56102a1d02925abbe9fc0504751de1a270a34ff3 (patch) | |
tree | 74aff6bfe9fb19539ac1976f394a31d9b98bd3d8 /queen/command.cpp | |
parent | bc0199a3f12419cbd1ef26e90415d049b0db4e30 (diff) | |
download | scummvm-rg350-56102a1d02925abbe9fc0504751de1a270a34ff3.tar.gz scummvm-rg350-56102a1d02925abbe9fc0504751de1a270a34ff3.tar.bz2 scummvm-rg350-56102a1d02925abbe9fc0504751de1a270a34ff3.zip |
forgot to change that, too
svn-id: r13086
Diffstat (limited to 'queen/command.cpp')
-rw-r--r-- | queen/command.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index 788cac9ce7..861f7628d6 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -668,17 +668,14 @@ void Command::grabSelectedVerb() { _state.subject[0] = 0; _state.subject[1] = 0; - // if right mouse key selected, then store command VERB - if (_mouseKey == Input::MOUSE_LBUTTON) { - if (_vm->logic()->joeWalk() == JWM_MOVE && _state.verb != VERB_NONE) { - _vm->logic()->joeWalk(JWM_NORMAL); - } - _state.commandLevel = 1; - _state.oldVerb = VERB_NONE; - _state.oldNoun = 0; - _cmdText.setVerb(_state.verb); - _cmdText.display(INK_CMD_NORMAL); + if (_vm->logic()->joeWalk() == JWM_MOVE && _state.verb != VERB_NONE) { + _vm->logic()->joeWalk(JWM_NORMAL); } + _state.commandLevel = 1; + _state.oldVerb = VERB_NONE; + _state.oldNoun = 0; + _cmdText.setVerb(_state.verb); + _cmdText.display(INK_CMD_NORMAL); } bool Command::executeIfCutaway(const char *description) { |