Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ironbell committed Apr 22, 2016
1 parent 4fa1e16 commit e3eb92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GUI/SaveGameWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void SaveGameWindow::update(const sf::Time& frameTime) {
if (pos.y < TOP || pos.y + GUIConstants::CHARACTER_SIZE_M > TOP + HEIGHT) continue;
m_entries[i].update(frameTime);
if (m_entries[i].isClicked()) {
if (i == static_cast<int>(m_chosenEntry)) {
if (static_cast<int>(i) == m_chosenEntry) {
// a chosen option was clicked again
m_isChosen = true;
}
Expand Down

0 comments on commit e3eb92f

Please sign in to comment.