Remove apScriptEvents from savegames

git-svn-id: https://svn.eduke32.com/eduke32@6979 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-09-28 04:27:17 +00:00
parent f3e0a0b892
commit 8a2651ac55

View file

@ -174,8 +174,6 @@ int Gv_ReadSave(int32_t kFile)
Gv_RefreshPointers(); Gv_RefreshPointers();
if (kdfread_LZ4(apScriptEvents, sizeof(apScriptEvents), 1, kFile) != 1) goto corrupt;
uint8_t savedstate[MAXVOLUMES*MAXLEVELS]; uint8_t savedstate[MAXVOLUMES*MAXLEVELS];
Bmemset(savedstate, 0, sizeof(savedstate)); 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(aGameArrays[i].pValues, Gv_GetArrayAllocSize(i), 1, fil);
} }
dfwrite_LZ4(apScriptEvents, sizeof(apScriptEvents), 1, fil);
uint8_t savedstate[MAXVOLUMES * MAXLEVELS]; uint8_t savedstate[MAXVOLUMES * MAXLEVELS];
Bmemset(savedstate, 0, sizeof(savedstate)); Bmemset(savedstate, 0, sizeof(savedstate));