mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-08 20:51:42 -04:00
fixed syntax error .
This commit is contained in:
parent
bd43b227e9
commit
8dd02a233b
1 changed files with 5 additions and 4 deletions
|
@ -1308,12 +1308,13 @@ CString GetFreeID()
|
|||
"Actions",
|
||||
"AITriggerTypes",
|
||||
};
|
||||
auto const found = find(std::begin(typeListSections), std::end(typeListSections), [&ini, input](auto const& key) {
|
||||
return ini.GetSection(key).HasValue(input);
|
||||
});
|
||||
if (found != std::end(typeListSections)) {
|
||||
if (find(std::begin(typeListSections), std::end(typeListSections), input) != std::end(typeListSections)) {
|
||||
return true;
|
||||
}
|
||||
if (find(std::begin(idListSections), std::end(idListSections), input) != std::end(idListSections)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
for (;;) {
|
||||
|
|
Loading…
Add table
Reference in a new issue