fix some compiler warnings

This commit is contained in:
uvos 2022-04-15 13:43:32 +02:00
parent fa45072998
commit 03c2be7977
6 changed files with 10 additions and 14 deletions

View file

@ -26,8 +26,9 @@ void MultiFactorActor::setValue(uint8_t value)
{
performAction();
}
bool exausted = true;
for(size_t i = 0; i < getActors().size(); ++i) if(!getActors()[i]->isExausted()) exausted = false;
exausted = true;
for(size_t i = 0; i < getActors().size(); ++i) if(!getActors()[i]->isExausted())
exausted = false;
}
}