Fix client paths (#811)

This commit is contained in:
David Markowitz
2022-11-02 20:30:35 -07:00
committed by GitHub
parent 353c328485
commit 8edade5f98
4 changed files with 17 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
#include "Pack.h"
#include "BinaryIO.h"
#include "ZCompression.h"
Pack::Pack(const std::filesystem::path& filePath) {
@@ -11,7 +12,7 @@ Pack::Pack(const std::filesystem::path& filePath) {
m_FileStream = std::ifstream(filePath, std::ios::in | std::ios::binary);
m_FileStream.read(m_Version, 7);
m_FileStream.read(m_Version, 7);
m_FileStream.seekg(-8, std::ios::end); // move file pointer to 8 bytes before the end (location of the address of the record count)