diff --git a/HellIsUs/dllmain.cpp b/HellIsUs/dllmain.cpp index 3fe8ee1..7ef719b 100644 --- a/HellIsUs/dllmain.cpp +++ b/HellIsUs/dllmain.cpp @@ -18,7 +18,6 @@ typedef void (*SetIntFn)(int); typedef void (*SetFloatFn)(float); typedef float (*GetFloatFn)(); typedef bool (*GetBoolFn)(); -//typedef void (*SetUEConsole)(); static HMODULE fixLib = nullptr; static SetBoolFn SetFixEnabled = nullptr; @@ -37,7 +36,6 @@ static GetFloatFn GetFOVIn = nullptr; static GetFloatFn GetCompensadedFOV = nullptr; static GetFloatFn GetFOVOut = nullptr; static GetBoolFn GetConsoleEnabled = nullptr; -//static SetUEConsole SetConsole = nullptr; // Plugin variables for checkboxes and sliders static bool fov_fix_enabled = false; @@ -124,7 +122,6 @@ static void LoadFixDLL() GetFOVIn = (GetFloatFn)GetProcAddress(fixLib, "GetFOVIn"); GetCompensadedFOV = (GetFloatFn)GetProcAddress(fixLib, "GetCompensatedFOV"); GetFOVOut = (GetFloatFn)GetProcAddress(fixLib, "GetFOVOut");; - //SetConsole = (SetUEConsole)GetProcAddress(fixLib, "SetConsole"); GetConsoleEnabled = (GetBoolFn)GetProcAddress(fixLib, "GetConsoleEnabled"); // Apply initial values loaded from settings @@ -139,7 +136,6 @@ static void LoadFixDLL() if (SetVignettingFixEnabled) SetVignettingFixEnabled(Vignetting_fix_enabled, true); if (SetFogFixEnabled) SetFogFixEnabled(Fog_fix_enabled, true); if (SetFixEnabled) SetFixEnabled(fix_enabled, true); - //if (SetConsole) SetConsole(); } }