From 22de28c3ed8bd68e60b9fc3b21c4751bcb74eebc Mon Sep 17 00:00:00 2001 From: lethosor Date: Fri, 19 May 2017 11:49:25 -0400 Subject: [PATCH] embark-tools sand: hide indicator when it overlaps with confirmation window --- plugins/embark-tools.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/embark-tools.cpp b/plugins/embark-tools.cpp index 274f8cad7..81f7dd6cd 100644 --- a/plugins/embark-tools.cpp +++ b/plugins/embark-tools.cpp @@ -178,7 +178,14 @@ public: auto dim = Screen::getWindowSize(); int x = dim.x - 28, y = 13; - if (screen->page == 0) + if (screen->page == start_sitest::T_page::Biome && ( + int(screen->in_embark_aquifer) + + int(screen->in_embark_salt) + + int(screen->in_embark_large) + + int(screen->in_embark_narrow) + + int(screen->in_embark_only_warning) + + int(screen->in_embark_civ_dying) + ) < 2) { OutputString(COLOR_YELLOW, x, y, indicator); }