From f905b4903247244a9f335082d313f6c784ceaa00 Mon Sep 17 00:00:00 2001 From: Alina Lenk Date: Sun, 6 Mar 2022 18:44:57 +0100 Subject: [PATCH 3/3] Show tile latitude in tile info popup See osdn #44041 Signed-off-by: Alina Lenk --- client/text.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/text.c b/client/text.c index 95a5254f7d..6a6545a11f 100644 --- a/client/text.c +++ b/client/text.c @@ -165,6 +165,8 @@ const char *popup_info_text(struct tile *ptile) index_to_native_pos(&nat_x, &nat_y, tile_index(ptile)); astr_add_line(&str, _("Native coordinates: (%d, %d)"), nat_x, nat_y); + astr_add_line(&str, _("Latitude: %d"), + map_signed_latitude(ptile)); if (client_tile_get_known(ptile) == TILE_UNKNOWN) { astr_add(&str, _("Unknown")); -- 2.17.1