Removed the More Affinities check, it is now redundant

This commit is contained in:
Eddoursul 2023-10-27 18:04:08 +02:00
parent 7b24aa0767
commit 9bdf9a2640
5 changed files with 2 additions and 31 deletions

BIN
SKSE/Plugins/EnderalSE.dll (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

View File

@ -10,27 +10,6 @@ inline bool DataFileExists(std::string filename, int maxSize = 1000000)
return std::filesystem::exists(path) && std::filesystem::file_size(path) > maxSize;
}
inline void CheckBlacklist()
{
const auto dataHandler = RE::TESDataHandler::GetSingleton();
if (!dataHandler) {
return;
}
std::string filenames[1] = {
"Enderal_FS_More_Affinities.esp",
};
for (short i = 0; i < 1; i++) {
if (dataHandler->LookupLoadedModByName(filenames[i])) {
aModNames.insert(filenames[i]);
RE::DebugMessageBox(std::format("{} is incompatible with Enderal SE.\nCheck console for the list of flagged mods.", filenames[i]).c_str());
RE::ConsoleLog::GetSingleton()->Print(std::format("{} is incompatible", filenames[i]).c_str());
}
}
}
inline void NotifyInvalidForm(const RE::TESForm* form)
{
if (!form) {

View File

@ -54,7 +54,6 @@ inline void CheckIncompatibleMods()
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors");
}
CheckBlacklist();
CheckWorldspaces();
CheckUnconvertedMap();
CheckSkyrimCells();
@ -67,8 +66,6 @@ inline void CheckIncompatibleMods()
inline bool PapyrusGlobalFunctionExists(const char* scriptName, const char* funcName)
{
logger::info("Real - GetGlobalFunctionNames of {}", scriptName);
std::vector<std::string> functionNames;
RE::BSTSmartPointer<RE::BSScript::ObjectTypeInfo> typeInfoPtr;
RE::BSScript::Internal::VirtualMachine::GetSingleton()->GetScriptObjectType(RE::BSFixedString(scriptName), typeInfoPtr);
auto functionCount = typeInfoPtr->GetNumGlobalFuncs();

View File

@ -45,11 +45,6 @@ Event OnInit()
kQuest.Start()
endwhile
If Game.GetModByName("Enderal_FS_More_Affinities.esp") != 255
Game.QuitToMainMenu()
Debug.MessageBox("Enderal_FS_More_Affinities.esp is outdated and does not work with Enderal SE. Please, uninstall or update the mod.")
EndIf
EndEvent
Event OnPlayerLoadGame()