only show group if ShowOrders is true

This commit is contained in:
Tim Felgentreff 2022-02-07 08:32:46 +01:00
parent 274448c00f
commit ae83587065

View file

@ -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