From ae8358706533407c1c7d4d47d80b6d82abf539da Mon Sep 17 00:00:00 2001 From: Tim Felgentreff <timfelgentreff@gmail.com> Date: Mon, 7 Feb 2022 08:32:46 +0100 Subject: [PATCH] only show group if ShowOrders is true --- src/unit/unit_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unit/unit_draw.cpp b/src/unit/unit_draw.cpp index 529594d24..1291b5a2a 100644 --- a/src/unit/unit_draw.cpp +++ b/src/unit/unit_draw.cpp @@ -636,7 +636,7 @@ static void DrawDecoration(const CUnit &unit, const CUnitType &type, const Pixel } // Draw group number - if (unit.Selected && unit.GroupId != 0 + if (Preference.ShowOrders && unit.Selected && unit.GroupId != 0 #ifndef DEBUG && unit.Player == ThisPlayer #endif