Fix esp bugs
This commit is contained in:
parent
4c3fcfd962
commit
4f1c4bde57
@ -8,8 +8,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "colors.hpp"
|
|
||||||
#if ENABLE_VISUALS
|
#if ENABLE_VISUALS
|
||||||
|
#include "colors.hpp"
|
||||||
|
|
||||||
namespace hacks::shared::esp
|
namespace hacks::shared::esp
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -660,8 +660,6 @@ void _FASTCALL ProcessEntityPT(CachedEntity *ent)
|
|||||||
case ENTITY_BUILDING:
|
case ENTITY_BUILDING:
|
||||||
if (CE_INT(ent, netvar.iTeamNum) == g_pLocalPlayer->team && !teammates)
|
if (CE_INT(ent, netvar.iTeamNum) == g_pLocalPlayer->team && !teammates)
|
||||||
break;
|
break;
|
||||||
if (!transparent && vischeck && !ent->IsVisible())
|
|
||||||
transparent = true;
|
|
||||||
if (!fg)
|
if (!fg)
|
||||||
fg = colors::EntityF(ent);
|
fg = colors::EntityF(ent);
|
||||||
if (transparent)
|
if (transparent)
|
||||||
|
Reference in New Issue
Block a user