- split the serializer in two to keep the Doom specific parts out of the main file.

This commit is contained in:
Christoph Oelckers 2020-04-11 19:27:11 +02:00
commit 7b292cca57
37 changed files with 1002 additions and 848 deletions

View file

@ -182,7 +182,7 @@ void FSavegameManager::ReadSaveStrings()
continue;
}
void *data = info->Lock();
FSerializer arc(nullptr);
FSerializer arc;
if (arc.OpenReader((const char *)data, info->LumpSize))
{
int savever = 0;
@ -469,7 +469,7 @@ unsigned FSavegameManager::ExtractSaveData(int index)
return index;
}
void *data = info->Lock();
FSerializer arc(nullptr);
FSerializer arc;
if (arc.OpenReader((const char *)data, info->LumpSize))
{
FString comment;