Skip to content

Commit

Permalink
Fix puzzle screen exit button theme (#7446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Districh-ru authored Jul 22, 2023
1 parent 9850abe commit d17aeda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fheroes2/kingdom/puzzle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace
fheroes2::Blit( fheroes2::AGG::GetICN( ( isEvilInterface ? ICN::EVIWPUZL : ICN::VIEWPUZL ), 0 ), display, radarArea.x, radarArea.y );

fheroes2::Button buttonExit( radarArea.x + 32, radarArea.y + radarArea.height - 37,
( isEvilInterface ? ICN::BUTTON_SMALLER_EXIT_GOOD : ICN::BUTTON_SMALLER_EXIT_EVIL ), 0, 1 );
( isEvilInterface ? ICN::BUTTON_SMALLER_EXIT_EVIL : ICN::BUTTON_SMALLER_EXIT_GOOD ), 0, 1 );
buttonExit.draw();

drawPuzzle( pzl, sf, BORDERWIDTH, BORDERWIDTH );
Expand Down

0 comments on commit d17aeda

Please sign in to comment.