summaryrefslogtreecommitdiff
path: root/StormLib/src/SBaseCommon.cpp
diff options
context:
space:
mode:
authorKenix3 <kenixwhisperwind@gmail.com>2022-06-21 22:17:47 -0400
committerGitHub <noreply@github.com>2022-06-21 22:17:47 -0400
commitd5db4a86bd1267ac0189e23c0320cca90587ece4 (patch)
tree3ba04dd59f89c6148f6bd353c2de3c3e20af460b /StormLib/src/SBaseCommon.cpp
parentabcf713cc1e38b1091cb9fa0a1dfb0bff64c4efd (diff)
parentf8e3dcd7c02bd12f745fce8443683c6ec7438cdf (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.cpp2
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