From fe6bfad3e945e90e68dc839c0d5bc7a6bbc18c76 Mon Sep 17 00:00:00 2001 From: Eddoursul Date: Sat, 27 Jul 2024 17:12:23 +0200 Subject: [PATCH] Check Fishing CC by size to allow a patch --- source/Enderal DLL/src/CheckInvalidForms.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/Enderal DLL/src/CheckInvalidForms.h b/source/Enderal DLL/src/CheckInvalidForms.h index e2e1b125..7f8d72e3 100644 --- a/source/Enderal DLL/src/CheckInvalidForms.h +++ b/source/Enderal DLL/src/CheckInvalidForms.h @@ -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()