[Scummvm-git-logs] scummvm master -> 43ef9297b52b516196c9ac262732ed4b5ae5f2a5
peres
peres at scummvm.org
Wed Jun 30 13:15:00 UTC 2021
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:
43ef9297b5 PARALLACTION: force palette update for BRA COLOR instruction.
Commit: 43ef9297b52b516196c9ac262732ed4b5ae5f2a5
https://github.com/scummvm/scummvm/commit/43ef9297b52b516196c9ac262732ed4b5ae5f2a5
Author: peres (peres at scummvm.org)
Date: 2021-06-30T22:11:53+09:00
Commit Message:
PARALLACTION: force palette update for BRA COLOR instruction.
The COLOR instruction does simple palette animation; it is visible
in several places, e.g. the windows in the train in part 3.
Changed paths:
engines/parallaction/exec_br.cpp
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp
index e5777ecf27..f72738f745 100644
--- a/engines/parallaction/exec_br.cpp
+++ b/engines/parallaction/exec_br.cpp
@@ -493,6 +493,7 @@ DECLARE_INSTRUCTION_OPCODE(move) {
DECLARE_INSTRUCTION_OPCODE(color) {
InstructionPtr inst = ctxt._inst;
_vm->_gfx->_palette.setEntry(inst->_opB.getValue(), inst->_colors[0], inst->_colors[1], inst->_colors[2]);
+ _vm->_gfx->setPalette(_vm->_gfx->_palette);
}
More information about the Scummvm-git-logs
mailing list