mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
Implement/match Pizzeria::HandleClick (#971)
This commit is contained in:
committed by
GitHub
parent
ae859fbc19
commit
650903d043
@@ -456,7 +456,7 @@ MxBool LegoInputManager::ProcessOneEvent(LegoEventNotificationParam& p_param)
|
||||
}
|
||||
|
||||
if (FUN_1005cdf0(p_param)) {
|
||||
if (processRoi && p_param.GetType() == c_notificationType11) {
|
||||
if (processRoi && p_param.GetType() == c_notificationClick) {
|
||||
LegoROI* roi = PickROI(p_param.GetX(), p_param.GetY());
|
||||
p_param.SetROI(roi);
|
||||
|
||||
@@ -498,7 +498,7 @@ MxBool LegoInputManager::FUN_1005cdf0(LegoEventNotificationParam& p_param)
|
||||
else if (m_unk0x81) {
|
||||
p_param.SetX(m_x);
|
||||
p_param.SetY(m_y);
|
||||
p_param.SetType(c_notificationType11);
|
||||
p_param.SetType(c_notificationClick);
|
||||
result = TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user