mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Fix MxParam casts in Notify functions (#1188)
* First batch * Second batch
This commit is contained in:
@@ -89,10 +89,11 @@ LegoRace::~LegoRace()
|
||||
MxLong LegoRace::Notify(MxParam& p_param)
|
||||
{
|
||||
LegoWorld::Notify(p_param);
|
||||
MxNotificationParam& param = (MxNotificationParam&) p_param;
|
||||
|
||||
MxLong result = 0;
|
||||
if (m_worldStarted) {
|
||||
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
||||
switch (param.GetNotification()) {
|
||||
case c_notificationType0:
|
||||
HandleType0Notification((MxNotificationParam&) p_param);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user