mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
fix stupidity in prev commit
This commit is contained in:
parent
cabdf93e21
commit
fe93c91eca
1 changed files with 1 additions and 1 deletions
|
@ -1451,7 +1451,7 @@ void Entity::setAllDamageTargets(bool v)
|
||||||
|
|
||||||
bool Entity::isDamageTarget(DamageType dt)
|
bool Entity::isDamageTarget(DamageType dt)
|
||||||
{
|
{
|
||||||
return std::binary_search(disabledDamageTypes.begin(), disabledDamageTypes.end(), dt);
|
return !std::binary_search(disabledDamageTypes.begin(), disabledDamageTypes.end(), dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
float Entity::getHealthPerc()
|
float Entity::getHealthPerc()
|
||||||
|
|
Loading…
Reference in a new issue