Implement/match PickEntity (#1153)

* Implement/match PickEntity

* Rename function
This commit is contained in:
Christian Semmler
2024-11-15 10:35:53 -07:00
committed by GitHub
parent 62f09570b0
commit 93c640a45f
3 changed files with 17 additions and 12 deletions

View File

@@ -253,7 +253,7 @@ MxLong Ambulance::HandleButtonDown(LegoControlManagerNotificationParam& p_param)
return 1;
}
roi = PickParentROI(p_param.GetX(), p_param.GetY());
roi = PickRootROI(p_param.GetX(), p_param.GetY());
if (roi != NULL && !strcmpi(roi->GetName(), "gd")) {
m_unk0x170 = 3;