From bf4b39781ba64076c06e00825277a6c7f67c0949 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 25 Jul 2021 21:44:21 +0300 Subject: low effort save support --- src/control/Script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/control/Script.cpp') diff --git a/src/control/Script.cpp b/src/control/Script.cpp index fbb7024c..233f5d5d 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -1853,7 +1853,7 @@ void FlushLog() const uint32 CRunningScript::nSaveStructSize = #ifdef COMPATIBLE_SAVES - 136; + 536; #else sizeof(CRunningScript); #endif @@ -2691,7 +2691,7 @@ bool CTheScripts::Init(bool loaddata) InvisibilitySettingArray[i] = nil; if (loaddata) { printf("loaddata = true\n"); - //retval = GenericLoad(); // TODO + retval = GenericLoad(); } for (int i = 0; i < MAX_ALLOWED_COLLISIONS; i++) AllowedCollision[i] = 0; -- cgit v1.2.3