From 82115849b168df0e9ca4043fdaa1b274813ed1ea Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 20 Mar 2017 22:57:28 +0100 Subject: [PATCH] InitializeScriptGlobals for 3.0 --- SilentPatchSA/SilentPatchSA.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index b65eff9..735f75f 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -559,8 +559,8 @@ static void InitializeScriptGlobals() { ScriptSpace = *AddressByVersion(0x5D5380, 0x5D5B60, 0x450E34); ScriptParams = *AddressByVersion(0x48995B, 0x46410A, 0x46979A); - ScriptFileSize = *AddressByVersion( 0x468E74+1, 0, 0 /*TODO*/); - ScriptMissionSize = *AddressByVersion( 0x489A5A+1, 0, 0 /*TODO*/); + ScriptFileSize = *AddressByVersion( 0x468E74+1, 0, 0x46E572+1); + ScriptMissionSize = *AddressByVersion( 0x489A5A+1, 0, 0x490798+1); bInitScriptStuff = true; }