Fix bug stopping original drawing when running chams
Fixes #391 for some reason
This commit is contained in:
parent
a1dd4f9fa7
commit
e6426f1b7d
@ -135,8 +135,6 @@ DEFINE_HOOKED_METHOD(DrawModelExecute, void, IVModelRender *this_, const DrawMod
|
|||||||
if (ent)
|
if (ent)
|
||||||
if (ent->entindex() == spectator_target)
|
if (ent->entindex() == spectator_target)
|
||||||
return;
|
return;
|
||||||
if (ent && !effect_chams::g_EffectChams.drawing && effect_chams::g_EffectChams.ShouldRenderChams(ent))
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return original::DrawModelExecute(this_, state, info, bone);
|
return original::DrawModelExecute(this_, state, info, bone);
|
||||||
|
Reference in New Issue
Block a user