mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +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)
|
||||
{
|
||||
return std::binary_search(disabledDamageTypes.begin(), disabledDamageTypes.end(), dt);
|
||||
return !std::binary_search(disabledDamageTypes.begin(), disabledDamageTypes.end(), dt);
|
||||
}
|
||||
|
||||
float Entity::getHealthPerc()
|
||||
|
|
Loading…
Reference in a new issue