mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Fix LegoROI / add TimeROI (#572)
* Fix LegoROI / add TimeROI * Fix order * Remove extra fwd decl
This commit is contained in:

committed by
GitHub

parent
b47412183b
commit
332d8da695
@@ -132,9 +132,9 @@ void LegoModelPresenter::ParseExtra()
|
||||
}
|
||||
else if (KeyValueStringParse(output, g_dbCreate, buffer) != 0 && m_roi == NULL) {
|
||||
LegoWorld* currentWorld = CurrentWorld();
|
||||
list<AutoROI*>& roiList = currentWorld->GetUnknownList0xe0();
|
||||
list<LegoROI*>& roiList = currentWorld->GetUnknownList0xe0();
|
||||
|
||||
for (list<AutoROI*>::iterator it = roiList.begin(); it != roiList.end(); it++) {
|
||||
for (list<LegoROI*>::iterator it = roiList.begin(); it != roiList.end(); it++) {
|
||||
if (!strcmpi(((LegoROI*) (*it))->GetName(), output)) {
|
||||
m_roi = *it;
|
||||
roiList.erase(it);
|
||||
|
Reference in New Issue
Block a user