[Scummvm-cvs-logs] scummvm master -> b0e6c30ee288130d6b904a6f770044564b0490e6
bluegr
bluegr at gmail.com
Sun Dec 21 23:46:34 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b0e6c30ee2 ZVISION: Fix Venus key code handling in commit dfae161
Commit: b0e6c30ee288130d6b904a6f770044564b0490e6
https://github.com/scummvm/scummvm/commit/b0e6c30ee288130d6b904a6f770044564b0490e6
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-12-22T00:45:34+02:00
Commit Message:
ZVISION: Fix Venus key code handling in commit dfae161
Changed paths:
engines/zvision/core/events.cpp
diff --git a/engines/zvision/core/events.cpp b/engines/zvision/core/events.cpp
index 81ad28f..6e8cf1f 100644
--- a/engines/zvision/core/events.cpp
+++ b/engines/zvision/core/events.cpp
@@ -148,7 +148,7 @@ void ZVision::cheatCodes(uint8 key) {
// Show the Venus screen when "?" or "/" is pressed while inside the temple world
if (_scriptManager->getStateValue(StateKey_VenusEnable) == 1)
- if ((checkCode("?") || checkCode("/")) && _scriptManager->getStateValue(StateKey_World) == 't')
+ if (getBufferedKey(0) == 0xBF && _scriptManager->getStateValue(StateKey_World) == 't')
_scriptManager->changeLocation('g', 'j', 'h', 'e', 0);
}
More information about the Scummvm-git-logs
mailing list