Skip to content

Commit

Permalink
Fix visited info when hero has visited a tree under another player's …
Browse files Browse the repository at this point in the history
…control (#9077)
  • Loading branch information
zenseii authored Sep 2, 2024
1 parent 8bd45da commit d004216
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fheroes2/dialog/dialog_quickinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ namespace
else {
if ( hero ) {
str.append( "\n\n(" );
str.append( _( "not claimed" ) );
// In case another player visited this tree with this hero.
str.append( hero->isVisited( tile ) ? _( "already claimed" ) : _( "not claimed" ) );
str += ')';
}
}
Expand Down

0 comments on commit d004216

Please sign in to comment.