[Scummvm-git-logs] scummvm master -> 05e36920b36bae2da8c0f0d1413c0470344fcb84
waltervn
walter at vanniftrik-it.nl
Mon Jan 30 23:10:53 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:
05e36920b3 ADL: Fix add opcode
Commit: 05e36920b36bae2da8c0f0d1413c0470344fcb84
https://github.com/scummvm/scummvm/commit/05e36920b36bae2da8c0f0d1413c0470344fcb84
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2017-01-30T23:08:48+01:00
Commit Message:
ADL: Fix add opcode
Changed paths:
engines/adl/adl.cpp
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index bc67ec3..845fc52 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -1074,7 +1074,7 @@ int AdlEngine::o1_isItemPicEQ(ScriptEnv &e) {
int AdlEngine::o1_varAdd(ScriptEnv &e) {
OP_DEBUG_2("\tVARS[%d] += %d", e.arg(2), e.arg(1));
- setVar(e.arg(2), getVar(e.arg(2) + e.arg(1)));
+ setVar(e.arg(2), getVar(e.arg(2)) + e.arg(1));
return 2;
}
More information about the Scummvm-git-logs
mailing list