This commit is contained in:
Zero Fanker 2024-04-07 14:04:16 -04:00
parent e9b961bf0c
commit aba00114e8

View file

@ -70,10 +70,8 @@ BOOL CNewRA2HouseDlg::OnInitDialog()
CComboBox* country=(CComboBox*)GetDlgItem(IDC_COUNTRY);
int i;
for(i=0;i<rules.sections[HOUSES].values.size();i++)
{
country->AddString(TranslateHouse(*rules.sections[HOUSES].GetValue(i), TRUE));
for (auto const& [seq, id] : rules[HOUSES]) {
country->AddString(TranslateHouse(id, TRUE));
}
country->SetCurSel(0);