mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-28 10:54:16 +00:00
Fix MxParam casts in Notify functions (#1188)
* First batch * Second batch
This commit is contained in:
@@ -19,9 +19,12 @@ BuildingEntity::~BuildingEntity()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100150a0
|
||||
// FUNCTION: BETA10 0x10024e37
|
||||
MxLong BuildingEntity::Notify(MxParam& p_param)
|
||||
{
|
||||
if (((MxNotificationParam&) p_param).GetNotification() == c_notificationClick) {
|
||||
MxNotificationParam& param = (MxNotificationParam&) p_param;
|
||||
|
||||
if (param.GetNotification() == c_notificationClick) {
|
||||
return HandleClick((LegoEventNotificationParam&) p_param);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user