[Scummvm-cvs-logs] CVS: scummvm/queen command.cpp,1.69,1.70

Gregory Montoir cyx at users.sourceforge.net
Sat Feb 28 01:20:13 CET 2004


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29707

Modified Files:
	command.cpp 
Log Message:
forgot to change that, too

Index: command.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/command.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- command.cpp	28 Feb 2004 08:52:53 -0000	1.69
+++ command.cpp	28 Feb 2004 09:02:43 -0000	1.70
@@ -668,17 +668,14 @@
 	_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) {





More information about the Scummvm-git-logs mailing list