From c195fc5ad5ce931e1b363b2040694b5e12fa40b9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 3 Nov 2017 19:41:42 +0100 Subject: [PATCH] validity appears in better place, lands colored --- menus.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/menus.cpp b/menus.cpp index 67c8d5fc..a3f30f2b 100644 --- a/menus.cpp +++ b/menus.cpp @@ -718,7 +718,7 @@ void showEuclideanMenu() { if(i < 26) ch = 'a' + i; else ch = 'A' + (i-26); string validclasses[4] = {"", " (½)", "", " (!)"}; - string s = XLAT1(linf[l].name) + validclasses[isLandValid(l)]; + string s = XLAT1(linf[l].name); if(landvisited[l]) { dialog::addBoolItem(s, l == specialland, ch); @@ -726,6 +726,9 @@ void showEuclideanMenu() { else { dialog::addSelItem(s, XLAT("(locked)"), ch); } + + dialog::lastItem().color = linf[l].color; + dialog::lastItem().value += validclasses[isLandValid(l)]; } dialog::addBreak(50); if(chaosUnlocked && !quotient && !euclid && !sphere)