[Scummvm-git-logs] scummvm master -> c0d155db972323b87af0964f59676be091c76be6
sev-
sev at scummvm.org
Thu Feb 16 22:54:48 CET 2017
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:
c0d155db97 DIRECTOR: Lingo: Revert D3 script addressing modification
Commit: c0d155db972323b87af0964f59676be091c76be6
https://github.com/scummvm/scummvm/commit/c0d155db972323b87af0964f59676be091c76be6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-02-16T22:54:34+01:00
Commit Message:
DIRECTOR: Lingo: Revert D3 script addressing modification
Changed paths:
engines/director/lingo/lingo.cpp
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index d90fac3..d3132f9 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -302,8 +302,8 @@ void Lingo::processEvent(LEvent event, ScriptType st, int entityId) {
if (_handlers.contains(ENTITY_INDEX(event, entityId))) {
call(_eventHandlerTypes[event], 0); // D4+ Events
pop();
- } else if (_scripts[st].contains(entityId)) {
- executeScript(st, entityId - 1); // D3 list of scripts.
+ } else if (_scripts[st].contains(entityId + 1)) {
+ executeScript(st, entityId + 1); // D3 list of scripts.
} else {
debugC(8, kDebugLingoExec, "STUB: processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
}
More information about the Scummvm-git-logs
mailing list