From 8a2651ac5568fa30f7fdaaead7c515227ade1b6c Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 28 Sep 2018 04:27:17 +0000 Subject: [PATCH] Remove apScriptEvents from savegames git-svn-id: https://svn.eduke32.com/eduke32@6979 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gamevars.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/duke3d/src/gamevars.cpp b/source/duke3d/src/gamevars.cpp index a92dd6a50..d1002ed89 100644 --- a/source/duke3d/src/gamevars.cpp +++ b/source/duke3d/src/gamevars.cpp @@ -174,8 +174,6 @@ int Gv_ReadSave(int32_t kFile) Gv_RefreshPointers(); - if (kdfread_LZ4(apScriptEvents, sizeof(apScriptEvents), 1, kFile) != 1) goto corrupt; - uint8_t savedstate[MAXVOLUMES*MAXLEVELS]; Bmemset(savedstate, 0, sizeof(savedstate)); @@ -259,8 +257,6 @@ void Gv_WriteSave(FILE *fil) dfwrite_LZ4(aGameArrays[i].pValues, Gv_GetArrayAllocSize(i), 1, fil); } - dfwrite_LZ4(apScriptEvents, sizeof(apScriptEvents), 1, fil); - uint8_t savedstate[MAXVOLUMES * MAXLEVELS]; Bmemset(savedstate, 0, sizeof(savedstate));