woops
This commit is contained in:
parent
40b05c7a3e
commit
9ce68dfd37
@ -108,8 +108,10 @@ void EffectChams::SetEntityColor (CachedEntity* ent, rgba_t color) {
|
|||||||
rgba_t EffectChams::ChamsColor(IClientEntity *entity)
|
rgba_t EffectChams::ChamsColor(IClientEntity *entity)
|
||||||
{
|
{
|
||||||
CachedEntity *ent = ENTITY(entity->entindex());
|
CachedEntity *ent = ENTITY(entity->entindex());
|
||||||
if (data[entity->entindex()])
|
if (data[entity->entindex()]) {
|
||||||
|
data[entity->entindex()] = false;
|
||||||
return colors::pink;
|
return colors::pink;
|
||||||
|
}
|
||||||
if (CE_BAD(ent))
|
if (CE_BAD(ent))
|
||||||
return colors::white;
|
return colors::white;
|
||||||
if (re::C_BaseCombatWeapon::IsBaseCombatWeapon(entity))
|
if (re::C_BaseCombatWeapon::IsBaseCombatWeapon(entity))
|
||||||
|
Reference in New Issue
Block a user