mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Remove apScriptEvents from savegames
git-svn-id: https://svn.eduke32.com/eduke32@6979 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f3e0a0b892
commit
8a2651ac55
1 changed files with 0 additions and 4 deletions
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue