summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index caea776c..acda465b 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -591,7 +591,7 @@ std::vector<std::tuple<QString, QString, int> > Profile::getActiveMods()
if ((iter->second != UINT_MAX) && m_ModStatus[iter->second].m_Enabled) {
ModInfo::Ptr modInfo = ModInfo::getByIndex(iter->second);
if (modInfo->hasFlag(ModInfo::FLAG_OVERWRITE))
- result.push_back(std::make_tuple(modInfo->internalName(), modInfo->absolutePath(), INT_MAX));
+ result.push_back(std::make_tuple(modInfo->internalName(), modInfo->absolutePath(), std::numeric_limits<int>::max()));
else
result.push_back(std::make_tuple(modInfo->internalName(), modInfo->absolutePath(), m_ModStatus[iter->second].m_Priority));
}