Prevent starting with conflicting Widescreen Scale Removed

This commit is contained in:
Eddoursul 2026-08-23 05:15:55 +02:00
parent cf84e2f026
commit cd2e2ed2d9

View File

@ -96,6 +96,12 @@ namespace {
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
} }
if (g_settings.at("MenuAspectRatioFix")) {
if (const auto pluginInfo = GetLoadInterface()->GetPluginInfo("WidescreenScaleRemoved"); pluginInfo) {
MessageBoxW(NULL, L"Widescreen Scale Removed is already included in Enderal, please, disable it (remove file Data\\SKSE\\Plugins\\WidescreenScaleRemoved.dll).", L"Enderal SE Error", MB_OK | MB_ICONERROR);
exit(EXIT_FAILURE);
}
}
if (g_settings.at("MapMarkerPlacementFixes")) { if (g_settings.at("MapMarkerPlacementFixes")) {
logger::info("Initializing map market placement fixes..."); logger::info("Initializing map market placement fixes...");
MapMarkerPlacement::Install(); MapMarkerPlacement::Install();