mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement OrientableROI::FUN_100a46b0 (#640)
* Implement OrientableROI::FUN_100a46b0 * Fix
This commit is contained in:

committed by
GitHub

parent
32ae9f3803
commit
fb800db862
@@ -388,8 +388,8 @@ MxBool LegoInputManager::ProcessOneEvent(LegoEventNotificationParam& p_param)
|
||||
p_param.SetROI(roi);
|
||||
|
||||
if (roi && roi->GetUnknown0x0c() == 1) {
|
||||
for (OrientableROI* oroi = roi->GetUnknown0xd4(); oroi; oroi = oroi->GetUnknown0xd4()) {
|
||||
roi = (LegoROI*) oroi;
|
||||
for (OrientableROI* parent = roi->GetParentROI(); parent; parent = parent->GetParentROI()) {
|
||||
roi = (LegoROI*) parent;
|
||||
}
|
||||
|
||||
LegoEntity* entity = roi->GetEntity();
|
||||
|
Reference in New Issue
Block a user