mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Implement/match Pizzeria::HandleClick (#971)
This commit is contained in:

committed by
GitHub

parent
ae859fbc19
commit
650903d043
@@ -122,8 +122,8 @@ MxLong Hospital::Notify(MxParam& p_param)
|
||||
case c_notificationButtonDown:
|
||||
result = HandleButtonDown(((LegoControlManagerEvent&) p_param));
|
||||
break;
|
||||
case c_notificationClick:
|
||||
result = HandleClick((LegoControlManagerEvent&) p_param);
|
||||
case c_notificationControl:
|
||||
result = HandleControl((LegoControlManagerEvent&) p_param);
|
||||
break;
|
||||
case c_notificationTransitioned:
|
||||
if (m_destLocation != LegoGameState::e_undefined) {
|
||||
@@ -552,7 +552,7 @@ MxLong Hospital::HandleButtonDown(LegoControlManagerEvent& p_param)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10075f90
|
||||
MxBool Hospital::HandleClick(LegoControlManagerEvent& p_param)
|
||||
MxBool Hospital::HandleControl(LegoControlManagerEvent& p_param)
|
||||
{
|
||||
if (p_param.GetUnknown0x28() == 1) {
|
||||
switch (p_param.GetClickedObjectId()) {
|
||||
|
Reference in New Issue
Block a user