clean screenshot chams

This commit is contained in:
nullifiedcat 2017-04-16 13:38:11 +03:00
parent ec42c576ae
commit 6109b6bf84

View File

@ -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;
}