Check Fishing CC by size to allow a patch

This commit is contained in:
Eddoursul 2024-07-27 17:12:23 +02:00
parent 747140eabc
commit fe6bfad3e9

View File

@ -668,9 +668,8 @@ inline void CheckSkyrimCells()
inline void CheckCCMods()
{
std::string filenames[74] = {
std::string filenames[73] = {
"ccASVSSE001-ALMSIVI.esm",
"ccBGSSSE001-Fish.esm",
"ccBGSSSE002-ExoticArrows.esl",
"ccBGSSSE003-Zombies.esl",
"ccBGSSSE004-RuinsEdge.esl",
@ -745,12 +744,17 @@ inline void CheckCCMods()
"ccAFDSSE001-DweSanctuary.esm",
};
for (short i = 0; i < 74; i++) {
for (short i = 0; i < 73; i++) {
if (DataFileExists(filenames[i], 800)) {
MessageBoxW(NULL, L"Creation Club mods are incompatible with Enderal.", L"Error", MB_OK | MB_ICONERROR);
exit(EXIT_FAILURE);
}
}
if (DataFileExists("ccBGSSSE001-Fish.esm", 1200000)) {
MessageBoxW(NULL, L"Fishing CC are incompatible with Enderal without a patch.", L"Error", MB_OK | MB_ICONERROR);
exit(EXIT_FAILURE);
}
}
inline void CheckUnconvertedMap()