[Scummvm-git-logs] scummvm master -> 6e85a17795e0af4d93d296615f653f6719bce7ec
dreammaster
dreammaster at scummvm.org
Mon Apr 2 05:26:26 CEST 2018
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:
6e85a17795 XEEN: Fix showing sign text at F4 2,3
Commit: 6e85a17795e0af4d93d296615f653f6719bce7ec
https://github.com/scummvm/scummvm/commit/6e85a17795e0af4d93d296615f653f6719bce7ec
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-01T23:26:26-04:00
Commit Message:
XEEN: Fix showing sign text at F4 2,3
Changed paths:
engines/xeen/scripts.cpp
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 896387f..0d5a778 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -183,8 +183,8 @@ int Scripts::checkEvents() {
for (eventIndex = 0; eventIndex < map._events.size() && !_vm->shouldExit(); ++eventIndex) {
MazeEvent &event = map._events[eventIndex];
- if (event._position == _currentPos && party._mazeDirection !=
- (_currentPos.x | _currentPos.y) && event._line == _lineNum) {
+ if (event._position == _currentPos && event._line == _lineNum &&
+ (party._mazeDirection | _currentPos.x | _currentPos.y)) {
if (event._direction == party._mazeDirection || event._direction == DIR_ALL) {
_vm->_mode = MODE_RECORD_EVENTS;
_scriptExecuted = true;
More information about the Scummvm-git-logs
mailing list