Chams doesnt need to ignore lifestate and dormant entities

This commit is contained in:
Mylloon 2023-04-03 02:39:31 +02:00
parent e38bf28abb
commit c60da06989
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -36,14 +36,6 @@ class Chams(Hack):
if mem.read_int(entity + offset["m_iTeamNum"]) == mem.read_int(local_player + offset["m_iTeamNum"]): if mem.read_int(entity + offset["m_iTeamNum"]) == mem.read_int(local_player + offset["m_iTeamNum"]):
continue continue
# Ignore dormant
if mem.read_bool(entity + offset["m_bDormant"]):
continue
# Check if ennemy is alive
if mem.read_int(entity + offset["m_lifeState"]):
continue
# Space between values # Space between values
i = mem.read_int( i = mem.read_int(
entity + offset["m_iGlowIndex"]) * offset["glow_obj_size"] entity + offset["m_iGlowIndex"]) * offset["glow_obj_size"]