fixed CFileMgr somewhat; still issues when loading saves

This commit is contained in:
aap
2019-06-13 01:12:37 +02:00
parent 9703ef9b59
commit 3472a614ae
7 changed files with 22 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ CDirectory::ReadDirFile(const char *filename)
fd = CFileMgr::OpenFile(filename, "rb");
while(CFileMgr::Read(fd, (char*)&dirinfo, sizeof(dirinfo)))
AddItem(dirinfo);
return CFileMgr::CloseFile(fd);
CFileMgr::CloseFile(fd);
}
bool