chore: Fix CI warnings
This commit is contained in:
parent
1b95b443dc
commit
cd1e49326b
2 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -118,6 +118,8 @@ bool SelectionOverlay::handleMouseButtonDown(const SDL_MouseButtonEvent &event)
|
|||
actions.add(make_unique<ObjectAction>(ActionType::OpenLock, object));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue