mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
derp
git-svn-id: https://svn.eduke32.com/eduke32@6371 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dad337add8
commit
efcdd0cde0
1 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ int Gv_ReadSave(int32_t kFile)
|
||||||
if (kdfread(&g_gameArrayCount,sizeof(g_gameArrayCount),1,kFile) != 1) goto corrupt;
|
if (kdfread(&g_gameArrayCount,sizeof(g_gameArrayCount),1,kFile) != 1) goto corrupt;
|
||||||
for (bssize_t i=0; i<g_gameArrayCount; i++)
|
for (bssize_t i=0; i<g_gameArrayCount; i++)
|
||||||
{
|
{
|
||||||
if (aGameArrays[i].flags & GAMEARRAY_READONLY)
|
if (aGameArrays[i].flags & (GAMEARRAY_READONLY | GAMEARRAY_SYSTEM))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
char *const olabel = aGameArrays[i].szLabel;
|
char *const olabel = aGameArrays[i].szLabel;
|
||||||
|
@ -282,7 +282,7 @@ void Gv_WriteSave(FILE *fil)
|
||||||
|
|
||||||
for (bssize_t i=0; i<g_gameArrayCount; i++)
|
for (bssize_t i=0; i<g_gameArrayCount; i++)
|
||||||
{
|
{
|
||||||
if (aGameArrays[i].flags & GAMEARRAY_READONLY)
|
if (aGameArrays[i].flags & (GAMEARRAY_READONLY | GAMEARRAY_SYSTEM))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// write for .size and .dwFlags (the rest are pointers):
|
// write for .size and .dwFlags (the rest are pointers):
|
||||||
|
|
Loading…
Reference in a new issue