mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-01 01:21:41 -04:00
++
This commit is contained in:
parent
e9b961bf0c
commit
aba00114e8
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue