Merge pull request #806 from nullworks/revert-805-BenCat07-patch-1

Revert "Fix the visuals stuff being used wron"
This commit is contained in:
TotallyNotElite 2019-08-31 14:50:07 +02:00 committed by GitHub
commit 58a25de117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ settings::Int print_r{ "print.rgb.r", "183" };
settings::Int print_g{ "print.rgb.b", "27" };
settings::Int print_b{ "print.rgb.g", "139" };
Color menu_color{ *print_r, *print_g, *print_b, 255 };
#if !TEXTMODE
#if ENABLE_VISUALS
settings::Boolean null_graphics("hack.nullgraphics", "false");
#else
settings::Boolean null_graphics("hack.nullgraphics", "true");

View File

@ -363,7 +363,7 @@ static void UnHookFs()
if (g_IBaseClient)
g_IBaseClient->InvalidateMdlCache();
}
#if TEXTMODE
#if !ENABLE_VISUALS
static InitRoutineEarly nullify_textmode([]() {
ReduceRamUsage();
static auto addr1 = e8call_direct(gSignatures.GetEngineSignature("E8 ? ? ? ? 8B 93 ? ? ? ? 85 D2 0F 84 ? ? ? ?")) + 0x18;