Skip to content

Commit

Permalink
ZVISION: Fix Venus key code handling in commit dfae161
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 21, 2014
1 parent 41dbbe3 commit b0e6c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/zvision/core/events.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit b0e6c30

Please sign in to comment.