Moved experimental crash fixes to a subdirectory
This commit is contained in:
parent
13ff172e61
commit
7a6d154d3e
@ -9,3 +9,4 @@ AttachLightHitEffectCrashFix = true
|
||||
AutoScaleHeroMenu = true
|
||||
WarnFormTypeCollisions = true
|
||||
GogVramLeakFix = true
|
||||
ExperimentalCrashFixes = false
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
#include "Patches/PluginsTxtPatch.h"
|
||||
#include "Patches/FormTypeCollisionDetector.h"
|
||||
#include "Patches/GogVramLeakFix.h"
|
||||
#include "Patches/CrosshairPickDataCrashFix.h"
|
||||
#include "Patches/MovementPathFollowerCrashFix.h"
|
||||
#include "CrashFixes/CrosshairPickDataCrashFix.h"
|
||||
#include "CrashFixes/MovementPathFollowerCrashFix.h"
|
||||
|
||||
using namespace SKSE;
|
||||
|
||||
@ -33,7 +33,7 @@ static std::map<std::string, bool> g_settings{
|
||||
{ "AttachLightHitEffectCrashFix", true },
|
||||
{ "AutoScaleHeroMenu", true },
|
||||
{ "GogVramLeakFix", true },
|
||||
{ "CrosshairPickDataCrashFix", true }
|
||||
{ "ExperimentalCrashFixes", false }
|
||||
};
|
||||
|
||||
namespace {
|
||||
@ -83,12 +83,12 @@ namespace {
|
||||
logger::info("Installing light attach crash fix...");
|
||||
AttachLightHitEffectCrash::Install();
|
||||
}
|
||||
if (g_settings.at("CrosshairPickDataCrashFix")) {
|
||||
if (g_settings.at("ExperimentalCrashFixes")) {
|
||||
logger::info("Installing crosshair pick data crash fix...");
|
||||
CrosshairPickDataCrashFix::Install();
|
||||
logger::info("Installing movement path follower crash fix...");
|
||||
MovementPathFollowerCrashFix::Install();
|
||||
}
|
||||
logger::info("Installing movement path follower crash fix...");
|
||||
MovementPathFollowerCrashFix::Install();
|
||||
if (g_settings.at("StayAtSystemPage")) {
|
||||
if (const auto pluginInfo = GetLoadInterface()->GetPluginInfo("StayAtSystemPage"); pluginInfo) {
|
||||
MessageBoxW(NULL, L"Stay At The System Page is already included in Enderal, please, disable it.", L"Enderal SE Error", MB_OK | MB_ICONERROR);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user