mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-01 01:21:41 -04:00
fixed building option dialog upgrades control logic issue .
This commit is contained in:
parent
450fe8fdae
commit
1140890ca0
1 changed files with 3 additions and 1 deletions
|
@ -149,7 +149,9 @@ BOOL CBuilding::OnInitDialog()
|
|||
upgradecount = 1;
|
||||
}
|
||||
|
||||
upgradecount = ini.GetInteger(m_type, "Upgrades");
|
||||
|
||||
upgradecount = rules.GetInteger(m_type, "Upgrades");
|
||||
upgradecount = ini.GetInteger(m_type, "Upgrades", upgradecount);
|
||||
|
||||
GetDlgItem(IDC_P5)->SendMessage(CB_SETCURSEL, atoi(m_spotlight), 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue