Implement/match LegoOmni::FindROI and related (#570)

* Implement/match LegoOmni::FindROI and related

* Add missing file
This commit is contained in:
Christian Semmler
2024-02-16 19:34:30 -05:00
committed by GitHub
parent 5b06054375
commit c67f613b8d
13 changed files with 61 additions and 23 deletions

View File

@@ -135,7 +135,7 @@ void LegoModelPresenter::ParseExtra()
list<AutoROI*>& roiList = currentWorld->GetUnknownList0xe0();
for (list<AutoROI*>::iterator it = roiList.begin(); it != roiList.end(); it++) {
if (!strcmpi(((LegoROI*) (*it))->GetUnknown0xe4(), output)) {
if (!strcmpi(((LegoROI*) (*it))->GetName(), output)) {
m_roi = *it;
roiList.erase(it);