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

@@ -387,7 +387,7 @@ MxBool LegoInputManager::ProcessOneEvent(LegoEventNotificationParam& p_param)
LegoROI* roi = PickROI(p_param.GetX(), p_param.GetY());
p_param.SetROI(roi);
if (roi && roi->GetUnk0x0c() == 1) {
if (roi && roi->GetUnknown0x0c() == 1) {
for (OrientableROI* oroi = roi->GetUnknown0xd4(); oroi; oroi = oroi->GetUnknown0xd4()) {
roi = (LegoROI*) oroi;
}