Parent house displayed in dialog will no longer show 'GDI' or 'Nod' .

This commit is contained in:
Zero Fanker 2024-07-04 20:17:58 -04:00
parent 5079e68041
commit 0061df657c

View file

@ -71,7 +71,9 @@ BOOL CNewRA2HouseDlg::OnInitDialog()
CComboBox* country = (CComboBox*)GetDlgItem(IDC_COUNTRY);
for (auto const& [seq, id] : rules[HOUSES]) {
country->AddString(TranslateHouse(id, TRUE));
if (id != "GDI" && id != "Nod") {
country->AddString(TranslateHouse(id, TRUE));
}
}
country->SetCurSel(0);