Hotfix #323
This commit is contained in:
parent
8853e81bca
commit
86e30c992f
@ -316,11 +316,14 @@ namespace cheat::feature
|
|||||||
|
|
||||||
if (entry.m_Name == "Npc" || "AvatarOwn" || "AvatarTeammate")
|
if (entry.m_Name == "Npc" || "AvatarOwn" || "AvatarTeammate")
|
||||||
{
|
{
|
||||||
auto name = entity->name();
|
if (entity->type() == app::EntityType__Enum_1::Avatar || entity->type() == app::EntityType__Enum_1::NPC)
|
||||||
|
{
|
||||||
|
std::string name = entity->name();
|
||||||
GetNpcName(name);
|
GetNpcName(name);
|
||||||
esp::render::DrawEntity(name, entity, entry.m_Color, entry.m_ContrastColor);
|
esp::render::DrawEntity(name, entity, entry.m_Color, entry.m_ContrastColor);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
esp::render::DrawEntity(entry.m_Name, entity, entry.m_Color, entry.m_ContrastColor);
|
esp::render::DrawEntity(entry.m_Name, entity, entry.m_Color, entry.m_ContrastColor);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user