mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-28 19:04:06 +00:00
Fix MxParam casts in Notify functions (#1188)
* First batch * Second batch
This commit is contained in:
@@ -25,11 +25,13 @@ MxResult IsleActor::Create(MxDSAction& p_dsAction)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1002c7b0
|
||||
// FUNCTION: BETA10 0x1003622e
|
||||
MxLong IsleActor::Notify(MxParam& p_param)
|
||||
{
|
||||
MxLong result = 0;
|
||||
MxNotificationParam& param = (MxNotificationParam&) p_param;
|
||||
|
||||
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
||||
switch (param.GetNotification()) {
|
||||
case c_notificationType0:
|
||||
result = VTable0x6c();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user