chore: Fix CI warnings

This commit is contained in:
Vsevolod Kremianskii 2020-11-16 20:23:02 +07:00
parent 1b95b443dc
commit cd1e49326b
2 changed files with 4 additions and 2 deletions

View file

@ -198,8 +198,8 @@ void PartySelection::refreshNpcButtons() {
for (int i = 0; i < kNpcCount; ++i) {
ToggleButton &button = getNpcButton(i);
if ((i == _selectedNpc && !button.isOn() ||
(i != _selectedNpc && button.isOn()))) {
if ((i == _selectedNpc && !button.isOn()) ||
(i != _selectedNpc && button.isOn())) {
button.toggle();
}

View file

@ -118,6 +118,8 @@ bool SelectionOverlay::handleMouseButtonDown(const SDL_MouseButtonEvent &event)
actions.add(make_unique<ObjectAction>(ActionType::OpenLock, object));
break;
}
default:
break;
}
return true;