Small fix
This commit is contained in:
parent
62ec2a8e56
commit
39bd6543f3
@ -16,6 +16,9 @@ bool drawEsp[32];
|
|||||||
|
|
||||||
void run()
|
void run()
|
||||||
{
|
{
|
||||||
|
#if ENABLE_VISUALS
|
||||||
|
if (!enable)
|
||||||
|
return;
|
||||||
for (int i = 1; i < g_IEngine->GetMaxClients(); i++)
|
for (int i = 1; i < g_IEngine->GetMaxClients(); i++)
|
||||||
{
|
{
|
||||||
CachedEntity *pEntity = ENTITY(i);
|
CachedEntity *pEntity = ENTITY(i);
|
||||||
@ -37,6 +40,7 @@ void run()
|
|||||||
maxp[i] = pEntity->hitboxes.GetHitbox(0)->max;
|
maxp[i] = pEntity->hitboxes.GetHitbox(0)->max;
|
||||||
drawEsp[i] = true;
|
drawEsp[i] = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
void draw()
|
void draw()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user