[Scummvm-git-logs] scummvm master -> c4da976543f413d98136a7852c9392498bee383f

athrxx noreply at scummvm.org
Fri Jul 19 17:39:46 UTC 2024


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:
c4da976543 SCUMM: temporary fix for bug no. 15281


Commit: c4da976543f413d98136a7852c9392498bee383f
    https://github.com/scummvm/scummvm/commit/c4da976543f413d98136a7852c9392498bee383f
Author: athrxx (athrxx at scummvm.org)
Date: 2024-07-19T19:39:06+02:00

Commit Message:
SCUMM: temporary fix for bug no. 15281

It should be checked if line 3206 (_currentScript = 0xFF) is
actually needed.

Changed paths:
    engines/scumm/scumm.cpp


diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 1bb3e87bd54..ed863de4eed 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -3200,6 +3200,8 @@ void ScummEngine_v3::terminateSaveMenuScript() {
 
 		runScript(scriptToChain, vm.slot[cur].freezeResistant, vm.slot[cur].recursive, chainedArgs);
 
+		_currentScript = cur;
+
 		// Stop code for all the objects in the save screen
 		stopObjectCode();
 	}




More information about the Scummvm-git-logs mailing list