[Scummvm-git-logs] scummvm master -> 6905951d73321d952d584230eda1eca09072d770
AndywinXp
noreply at scummvm.org
Tue Sep 17 14:26:18 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:
6905951d73 SCUMM: Fix "NestedScript nest[]" size
Commit: 6905951d73321d952d584230eda1eca09072d770
https://github.com/scummvm/scummvm/commit/6905951d73321d952d584230eda1eca09072d770
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-09-17T16:26:12+02:00
Commit Message:
SCUMM: Fix "NestedScript nest[]" size
I had updated everything else with the new nest size.
Except the actual nest array :-)
Changed paths:
engines/scumm/script.h
diff --git a/engines/scumm/script.h b/engines/scumm/script.h
index 195c913233c..16a6fb8a4d7 100644
--- a/engines/scumm/script.h
+++ b/engines/scumm/script.h
@@ -127,7 +127,7 @@ struct VirtualMachineState {
// Why does localvar have space for one extra local variable?
int32 localvar[NUM_SCRIPT_SLOT][NUM_SCRIPT_LOCAL + 1];
- NestedScript nest[kMaxScriptNesting];
+ NestedScript nest[kMaxScriptNestingHE]; // Changed from 15 to 40 because of later HE games
byte numNestedScripts;
};
More information about the Scummvm-git-logs
mailing list