[Scummvm-git-logs] scummvm master -> 47bbb861ad97923187c57d461ac15752e2355f68
bluegr
noreply at scummvm.org
Sat Sep 27 08:13:17 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
47bbb861ad TOON: Correct Gift-O-Matic speed
Commit: 47bbb861ad97923187c57d461ac15752e2355f68
https://github.com/scummvm/scummvm/commit/47bbb861ad97923187c57d461ac15752e2355f68
Author: xTrogwaRx (sergh91 at mail.ru)
Date: 2025-09-27T11:13:14+03:00
Commit Message:
TOON: Correct Gift-O-Matic speed
The Gift-O-Matic puzzle is CPU bound, and is very fast for today's
CPUs.
Adjusting the wait ticks of the Gift-O-Matic workaround to two
matches the expected speed of this puzzle, and it still makes it
possible to solve in today's systems.
Changed paths:
engines/toon/script_func.cpp
diff --git a/engines/toon/script_func.cpp b/engines/toon/script_func.cpp
index 442ad8a8f54..8bf89c73d13 100644
--- a/engines/toon/script_func.cpp
+++ b/engines/toon/script_func.cpp
@@ -890,7 +890,7 @@ int32 ScriptFunc::sys_Cmd_Set_Scene_Anim_Wait(EMCState *state) {
if (_vm->state()->_currentScene == 24) {
if (_vm->getCurrentUpdatingSceneAnimation() == 6) {
if (waitTicks == 1) {
- waitTicks = 10;
+ waitTicks = 2;
_vm->setSceneAnimationScriptUpdate(false);
}
}
More information about the Scummvm-git-logs
mailing list