From 6109b6bf845b2db5cd13fa4880e721d331404e08 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Sun, 16 Apr 2017 13:38:11 +0300 Subject: [PATCH] clean screenshot chams --- src/hooks/others.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/others.cpp b/src/hooks/others.cpp index 0ffd2874..b03f11f4 100644 --- a/src/hooks/others.cpp +++ b/src/hooks/others.cpp @@ -36,7 +36,7 @@ void DrawModelExecute_hook(IVModelRender* _this, const DrawModelState_t& state, } } }*/ - if (!(no_arms || no_hats || hacks::shared::chams::enable)) { + if (!(no_arms || no_hats || hacks::shared::chams::enable) || (clean_screenshots && g_IEngine->IsTakingScreenshot())) { ((DrawModelExecute_t)(hooks::hkIVModelRender->GetMethod(hooks::offDrawModelExecute)))(_this, state, info, matrix); return; }