mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
Fix MxParam casts in Notify functions (#1188)
* First batch * Second batch
This commit is contained in:
@@ -656,9 +656,10 @@ MxResult LegoCarBuild::Tickle()
|
||||
MxLong LegoCarBuild::Notify(MxParam& p_param)
|
||||
{
|
||||
MxLong result = LegoWorld::Notify(p_param);
|
||||
MxNotificationParam& param = (MxNotificationParam&) p_param;
|
||||
|
||||
if (m_worldStarted) {
|
||||
switch (((MxNotificationParam*) &p_param)->GetNotification()) {
|
||||
switch (param.GetNotification()) {
|
||||
case c_notificationType0:
|
||||
FUN_10024c20((LegoEventNotificationParam*) &p_param);
|
||||
result = 1;
|
||||
|
||||
Reference in New Issue
Block a user