Skip to content

Commit

Permalink
MenuPowers: Fix invisible icons when using gamepad/touch controls
Browse files Browse the repository at this point in the history
  • Loading branch information
dorkster committed Oct 29, 2024
1 parent 5ec9580 commit 7b1bed8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Engine fixes:
* Fix case where sounds may be unloaded prematurely if they were playing during certain sitations.
* Fix single-frame "back_forth" animations taking an extra frame to complete.
* Fix not being able to pick up loot with the mouse if the loot animation was looped.
* Fix invisible icons in Powers menu when using gamepad/touch controls.
* Android: Fix 'Flare' directory not being automatically created.
* Android: Added a dialog to direct the player to the wiki page for installing if no game data is found.

Expand Down
6 changes: 2 additions & 4 deletions src/MenuPowers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1408,10 +1408,8 @@ void MenuPowers::renderPowers(int tab_num) {
selected_slot = getSelectedCellIndex();
}

if (selected_slot == static_cast<int>(i))
continue;

slots[i]->highlight = true;
if (selected_slot != static_cast<int>(i))
slots[i]->highlight = true;
}
else {
slots[i]->highlight = false;
Expand Down
2 changes: 1 addition & 1 deletion src/Version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ FLARE. If not, see http://www.gnu.org/licenses/

#include <SDL.h>

Version VersionInfo::ENGINE(1, 14, 69);
Version VersionInfo::ENGINE(1, 14, 70);
Version VersionInfo::MIN(0, 0, 0);
Version VersionInfo::MAX(USHRT_MAX, USHRT_MAX, USHRT_MAX);

Expand Down

0 comments on commit 7b1bed8

Please sign in to comment.