mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-25 05:31:56 -04:00
Match LegoInputManager::ProcessOneEvent
(#1294)
This commit is contained in:
parent
29e77210e8
commit
2303dafaae
@ -466,7 +466,7 @@ MxBool LegoInputManager::ProcessOneEvent(LegoEventNotificationParam& p_param)
|
||||
LegoROI* roi = PickROI(p_param.GetX(), p_param.GetY());
|
||||
p_param.SetROI(roi);
|
||||
|
||||
if (roi && roi->GetVisibility()) {
|
||||
if (roi && roi->GetVisibility() == TRUE) {
|
||||
for (OrientableROI* parent = roi->GetParentROI(); parent; parent = parent->GetParentROI()) {
|
||||
roi = (LegoROI*) parent;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user