From 5d5da0a471958361c5211875623bbde6f3d026a5 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Wed, 28 Sep 2022 10:17:11 +0800 Subject: [PATCH] Code correction to LoadOrder.cpp Updated version number. --- artifacts/ddraw.ini | 2 +- sfall/Modules/LoadOrder.cpp | 2 +- sfall/version.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/artifacts/ddraw.ini b/artifacts/ddraw.ini index 0ab18f1c..551981f6 100644 --- a/artifacts/ddraw.ini +++ b/artifacts/ddraw.ini @@ -1,5 +1,5 @@ ;sfall configuration settings -;v4.3.7 +;v4.3.7.1 [Main] ;Set to 1 to enable the built-in High Resolution Patch mode that is similar to the hi-res patch by Mash diff --git a/sfall/Modules/LoadOrder.cpp b/sfall/Modules/LoadOrder.cpp index b59ad2f7..3730c89d 100644 --- a/sfall/Modules/LoadOrder.cpp +++ b/sfall/Modules/LoadOrder.cpp @@ -310,7 +310,7 @@ static void GetExtraPatches() { //} // Remove first duplicates size_t size = patchFiles.size(); - for (size_t i = 1; i < size; ++i) { + for (size_t i = 0; i < size; ++i) { for (size_t j = size - 1; j > i; --j) { if (patchFiles[j] == patchFiles[i]) { patchFiles[i].clear(); diff --git a/sfall/version.h b/sfall/version.h index 83a05583..8bee108e 100644 --- a/sfall/version.h +++ b/sfall/version.h @@ -25,6 +25,6 @@ #define VERSION_MAJOR 4 #define VERSION_MINOR 3 #define VERSION_BUILD 7 -#define VERSION_REV 0 +#define VERSION_REV 1 -#define VERSION_STRING "4.3.7" +#define VERSION_STRING "4.3.7.1"