mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Fix MxParam casts in Notify functions (#1188)
* First batch * Second batch
This commit is contained in:
@@ -215,9 +215,9 @@ void LegoAnimMMPresenter::DoneTickle()
|
||||
MxLong LegoAnimMMPresenter::Notify(MxParam& p_param)
|
||||
{
|
||||
AUTOLOCK(m_criticalSection);
|
||||
MxNotificationParam& param = (MxNotificationParam&) p_param;
|
||||
|
||||
if (((MxNotificationParam&) p_param).GetNotification() == c_notificationEndAction &&
|
||||
((MxNotificationParam&) p_param).GetSender() == m_presenter) {
|
||||
if (param.GetNotification() == c_notificationEndAction && param.GetSender() == m_presenter) {
|
||||
m_presenter = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user