diff options
| author | Kenix3 <kenixwhisperwind@gmail.com> | 2022-06-21 22:17:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-21 22:17:47 -0400 |
| commit | d5db4a86bd1267ac0189e23c0320cca90587ece4 (patch) | |
| tree | 3ba04dd59f89c6148f6bd353c2de3c3e20af460b /StormLib/src/SBaseCommon.cpp | |
| parent | abcf713cc1e38b1091cb9fa0a1dfb0bff64c4efd (diff) | |
| parent | f8e3dcd7c02bd12f745fce8443683c6ec7438cdf (diff) | |
Merge pull request #431 from HarbourMasters/zelda64
Ship of Harkinian 64 bit compilation
Diffstat (limited to 'StormLib/src/SBaseCommon.cpp')
| -rw-r--r-- | StormLib/src/SBaseCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StormLib/src/SBaseCommon.cpp b/StormLib/src/SBaseCommon.cpp index 2a424dc04..e8b3ef182 100644 --- a/StormLib/src/SBaseCommon.cpp +++ b/StormLib/src/SBaseCommon.cpp @@ -959,7 +959,7 @@ ULONGLONG FindFreeMpqSpace(TMPQArchive * ha) //static TFileEntry* furthestFile = nullptr; //TFileEntry* startEntry = furthestFile == nullptr ? ha->pFileTable : furthestFile; - + TFileEntry* startEntry = (ha->useFreeSpaceOptimization && ha->lastFreeSpaceEntry != nullptr) ? ha->lastFreeSpaceEntry : ha->pFileTable; // Parse the entire block table |
