Skip to content

Commit

Permalink
Unselect initial town in the Town Portal spell list (#4249)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1exsh authored Sep 28, 2021
1 parent 208e4c8 commit 598daad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fheroes2/heroes/heroes_spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ bool ActionSpellTownPortal( Heroes & hero )
listbox.SetAreaMaxItems( 5 );
listbox.SetAreaItems( fheroes2::Rect( area.x + 6, area.y + 49, 250, 160 ) );
listbox.SetListContent( castles );
listbox.Unselect();
listbox.RedrawBackground( area.getPosition() );
listbox.Redraw();

Expand Down

0 comments on commit 598daad

Please sign in to comment.