aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.cpp
diff options
context:
space:
mode:
authorgeni <me@geni.site>2021-12-31 14:43:15 +0200
committergeni <me@geni.site>2021-12-31 14:43:15 +0200
commita6a54befbd5a577804a2363e987bbc917abf9ff0 (patch)
treed917b8542496afdbb9a63d4355d12cc2fdca62ad /NorthstarDedicatedTest/modmanager.cpp
parent22e7065d1d56ecdb3a0ed9e52ea86638af30d14f (diff)
downloadNorthstarLauncher-a6a54befbd5a577804a2363e987bbc917abf9ff0.tar.gz
NorthstarLauncher-a6a54befbd5a577804a2363e987bbc917abf9ff0.zip
Fix loop
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.cpp')
-rw-r--r--NorthstarDedicatedTest/modmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/modmanager.cpp b/NorthstarDedicatedTest/modmanager.cpp
index 92f32a43..23dd2d6e 100644
--- a/NorthstarDedicatedTest/modmanager.cpp
+++ b/NorthstarDedicatedTest/modmanager.cpp
@@ -333,7 +333,7 @@ void ModManager::LoadMods()
}
// in a seperate loop because we register mod files in reverse order, since mods loaded later should have their files prioritised
- for (size_t i = m_loadedMods.size() - 1; i > -1; i--)
+ for (int64_t i = m_loadedMods.size() - 1; i > -1; i--)
{
if (!m_loadedMods[i].Enabled)
continue;