fix [store_reachable_locations] #7891 (#7970)

This commit is contained in:
gfgtdf 2023-10-20 22:39:11 +02:00 committed by GitHub
parent 0945c30efd
commit 6882adbcb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -415,7 +415,7 @@ static void find_routes(
}
}
if ( viewing_team && current_team && viewing_team != current_team && viewing_team->shrouded(next_hex) ) {
if ( !see_all && viewing_team && current_team && viewing_team != current_team && viewing_team->shrouded(next_hex) ) {
// bug #2199: in "Show Enemy Moves", don't pathfind enemy units through the player's shroud
continue;
}