Fix esp bugs

This commit is contained in:
BenCat07 2020-11-22 15:19:42 +01:00 committed by LightCat
parent 4c3fcfd962
commit 4f1c4bde57
2 changed files with 2 additions and 3 deletions

View File

@ -8,8 +8,9 @@
#pragma once
#include "config.h"
#include "colors.hpp"
#if ENABLE_VISUALS
#include "colors.hpp"
namespace hacks::shared::esp
{

View File

@ -660,8 +660,6 @@ void _FASTCALL ProcessEntityPT(CachedEntity *ent)
case ENTITY_BUILDING:
if (CE_INT(ent, netvar.iTeamNum) == g_pLocalPlayer->team && !teammates)
break;
if (!transparent && vischeck && !ent->IsVisible())
transparent = true;
if (!fg)
fg = colors::EntityF(ent);
if (transparent)