[Scummvm-cvs-logs] SF.net SVN: scummvm:[54922] scummvm/trunk/engines/hugo/parser_v1w.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Wed Dec 15 21:11:59 CET 2010
Revision: 54922
http://scummvm.svn.sourceforge.net/scummvm/?rev=54922&view=rev
Author: strangerke
Date: 2010-12-15 20:11:59 +0000 (Wed, 15 Dec 2010)
Log Message:
-----------
HUGO: Ensure F6 (inventory) is only active when appropriate
Modified Paths:
--------------
scummvm/trunk/engines/hugo/parser_v1w.cpp
Modified: scummvm/trunk/engines/hugo/parser_v1w.cpp
===================================================================
--- scummvm/trunk/engines/hugo/parser_v1w.cpp 2010-12-15 12:26:03 UTC (rev 54921)
+++ scummvm/trunk/engines/hugo/parser_v1w.cpp 2010-12-15 20:11:59 UTC (rev 54922)
@@ -99,8 +99,10 @@
gameStatus.viewState = V_PLAY;
break;
case Common::KEYCODE_F6: // Inventory
- gameStatus.inventoryState = I_DOWN;
- gameStatus.viewState = V_INVENT;
+ if ((gameStatus.inventoryState == I_OFF) && (gameStatus.viewState == V_PLAY)) {
+ gameStatus.inventoryState = I_DOWN;
+ gameStatus.viewState = V_INVENT;
+ }
break;
case Common::KEYCODE_F8: // Turbo mode
_config.turboFl = !_config.turboFl;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list