Merge pull request #805 from nullworks/BenCat07-patch-1
Fix the visuals stuff being used wron
This commit is contained in:
commit
ef5f2e4c97
@ -30,7 +30,7 @@ settings::Int print_r{ "print.rgb.r", "183" };
|
|||||||
settings::Int print_g{ "print.rgb.b", "27" };
|
settings::Int print_g{ "print.rgb.b", "27" };
|
||||||
settings::Int print_b{ "print.rgb.g", "139" };
|
settings::Int print_b{ "print.rgb.g", "139" };
|
||||||
Color menu_color{ *print_r, *print_g, *print_b, 255 };
|
Color menu_color{ *print_r, *print_g, *print_b, 255 };
|
||||||
#if ENABLE_VISUALS
|
#if !TEXTMODE
|
||||||
settings::Boolean null_graphics("hack.nullgraphics", "false");
|
settings::Boolean null_graphics("hack.nullgraphics", "false");
|
||||||
#else
|
#else
|
||||||
settings::Boolean null_graphics("hack.nullgraphics", "true");
|
settings::Boolean null_graphics("hack.nullgraphics", "true");
|
||||||
|
|||||||
@ -363,7 +363,7 @@ static void UnHookFs()
|
|||||||
if (g_IBaseClient)
|
if (g_IBaseClient)
|
||||||
g_IBaseClient->InvalidateMdlCache();
|
g_IBaseClient->InvalidateMdlCache();
|
||||||
}
|
}
|
||||||
#if !ENABLE_VISUALS
|
#if TEXTMODE
|
||||||
static InitRoutineEarly nullify_textmode([]() {
|
static InitRoutineEarly nullify_textmode([]() {
|
||||||
ReduceRamUsage();
|
ReduceRamUsage();
|
||||||
static auto addr1 = e8call_direct(gSignatures.GetEngineSignature("E8 ? ? ? ? 8B 93 ? ? ? ? 85 D2 0F 84 ? ? ? ?")) + 0x18;
|
static auto addr1 = e8call_direct(gSignatures.GetEngineSignature("E8 ? ? ? ? 8B 93 ? ? ? ? 85 D2 0F 84 ? ? ? ?")) + 0x18;
|
||||||
|
|||||||
Reference in New Issue
Block a user