From 0c11b18ef13b25882dca430966326cc37e5f4428 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Sat, 9 Dec 2017 19:05:21 +0300 Subject: [PATCH] fix crits.cpp textmode --- src/crits.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/crits.cpp b/src/crits.cpp index 3721d2a8..f05f9bae 100644 --- a/src/crits.cpp +++ b/src/crits.cpp @@ -129,6 +129,7 @@ bool random_crits_enabled() return tf_weapon_criticals->GetBool(); } +#if ENABLE_VISUALS == 1 void draw() { if (CE_BAD(LOCAL_W)) @@ -166,6 +167,8 @@ void draw() // *(float*)((uintptr_t)RAW_ENT(LOCAL_W) + 2872u))); } } +#endif + } void crithack_saved_state::Load(IClientEntity *entity)