- put the entire filesystem code into a namespace and created some subdirectories.
This commit is contained in:
parent
94c9ee4593
commit
ebb71cebf1
108 changed files with 308 additions and 225 deletions
|
|
@ -297,7 +297,7 @@ unsigned FSavegameManagerBase::ExtractSaveData(int index)
|
|||
!node->bOldVersion &&
|
||||
(resf = FResourceFile::OpenResourceFile(node->Filename.GetChars(), true)) != nullptr)
|
||||
{
|
||||
FResourceLump *info = resf->FindLump("info.json");
|
||||
auto info = resf->FindLump("info.json");
|
||||
if (info == nullptr)
|
||||
{
|
||||
// this should not happen because the file has already been verified.
|
||||
|
|
@ -315,7 +315,7 @@ unsigned FSavegameManagerBase::ExtractSaveData(int index)
|
|||
|
||||
SaveCommentString = ExtractSaveComment(arc);
|
||||
|
||||
FResourceLump *pic = resf->FindLump("savepic.png");
|
||||
auto pic = resf->FindLump("savepic.png");
|
||||
if (pic != nullptr)
|
||||
{
|
||||
FileReader picreader;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue