fix autoreflect not drawing ring
This commit is contained in:
parent
d31bd4efb3
commit
bdee69bbaa
@ -202,6 +202,7 @@ bool IsEntStickyBomb(CachedEntity *ent)
|
||||
}
|
||||
void Draw()
|
||||
{
|
||||
#if ENABLE_VISUALS == 1
|
||||
// Dont draw to screen when reflect is disabled
|
||||
if (!enabled)
|
||||
return;
|
||||
@ -236,6 +237,7 @@ void Draw()
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -115,6 +115,11 @@ void DrawCheatVisuals()
|
||||
hacks::tf::radar::Draw();
|
||||
}
|
||||
#endif
|
||||
IF_GAME(IsTF())
|
||||
{
|
||||
PROF_SECTION(DRAW_autoreflect);
|
||||
hacks::tf::autoreflect::Draw();
|
||||
}
|
||||
IF_GAME(IsTF2())
|
||||
{
|
||||
PROF_SECTION(DRAW_healarrows);
|
||||
|
Reference in New Issue
Block a user