1
0
Fork 0
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:
fgenesis 2017-07-14 03:36:43 +02:00
parent cabdf93e21
commit fe93c91eca

View file

@ -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()