1
0
Fork 0
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:
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)
{
return std::binary_search(disabledDamageTypes.begin(), disabledDamageTypes.end(), dt);
return !std::binary_search(disabledDamageTypes.begin(), disabledDamageTypes.end(), dt);
}
float Entity::getHealthPerc()