- two things I forgot to save before committing.

This commit is contained in:
Christoph Oelckers 2019-11-06 17:57:10 +01:00
parent cf6b4c64b1
commit 6ee807f225
2 changed files with 1 additions and 3 deletions

View File

@ -141,7 +141,7 @@ int Gv_ReadSave(FileReader &kFile)
if (aGameVars[i].flags & GAMEVAR_PERPLAYER)
{
aGameVars[i].pValues = (intptr_t*)Xaligned_alloc(PLAYER_VAR_ALIGNMENT, MAXPLAYERS * sizeof(intptr_t));
if (kFile.Read(aGameVars[i].pValues,sizeof(intptr_t) * MAXPLAYERS) != sizeof(intptr_t) * MAXPLAYERS)) goto corrupt;
if (kFile.Read(aGameVars[i].pValues,sizeof(intptr_t) * MAXPLAYERS) != sizeof(intptr_t) * MAXPLAYERS) goto corrupt;
}
else if (aGameVars[i].flags & GAMEVAR_PERACTOR)
{

View File

@ -7973,8 +7973,6 @@ MAIN_LOOP_RESTART:
goto MAIN_LOOP_RESTART;
}
while (1);
return 0; // not reached (duh)
}
GAME_STATIC GAME_INLINE int32_t G_MoveLoop()