[Scummvm-git-logs] scummvm master -> 4b24dce35f7453e517c0435aff255aa946162070
sev-
sev at scummvm.org
Sat Mar 27 21:30:40 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:
4b24dce35f TOON: Implement sys_Cmd_Play_Flux_Anim()
Commit: 4b24dce35f7453e517c0435aff255aa946162070
https://github.com/scummvm/scummvm/commit/4b24dce35f7453e517c0435aff255aa946162070
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-03-27T22:30:31+01:00
Commit Message:
TOON: Implement sys_Cmd_Play_Flux_Anim()
This should fix #6867
Changed paths:
engines/toon/script_func.cpp
diff --git a/engines/toon/script_func.cpp b/engines/toon/script_func.cpp
index 761852b66f..311d5dcc05 100644
--- a/engines/toon/script_func.cpp
+++ b/engines/toon/script_func.cpp
@@ -714,6 +714,10 @@ int32 ScriptFunc::sys_Cmd_Query_Scene_Anim_Loaded(EMCState *state) {
}
int32 ScriptFunc::sys_Cmd_Play_Flux_Anim(EMCState *state) {
+ if (!_vm->getFlux()->getFlag()) {
+ _vm->getFlux()->playAnim(stackPos(0), 0, stackPos(1));
+ _vm->getFlux()->setFlag(4);
+ }
return 0;
}
More information about the Scummvm-git-logs
mailing list