mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Match LegoWorld::Notify to 100%
This commit is contained in:
parent
8dfd59004e
commit
5d2cd79fb1
@ -39,12 +39,12 @@ MxLong LegoWorld::Notify(MxParam& p_param)
|
||||
{
|
||||
MxLong ret = 0;
|
||||
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
||||
case c_notificationEndAction:
|
||||
MxPresenter* presenter;
|
||||
presenter = (MxPresenter*) ((MxEndActionNotificationParam&) p_param).GetSender();
|
||||
ret = 1;
|
||||
case c_notificationEndAction: {
|
||||
MxPresenter* presenter = (MxPresenter*) ((MxEndActionNotificationParam&) p_param).GetSender();
|
||||
EndAction(presenter);
|
||||
ret = 1;
|
||||
break;
|
||||
}
|
||||
case c_notificationNewPresenter:
|
||||
TickleManager()->RegisterClient(this, 100);
|
||||
break;
|
||||
@ -112,4 +112,4 @@ void SetIsWorldActive(MxBool p_isWorldActive)
|
||||
if (!p_isWorldActive)
|
||||
LegoOmni::GetInstance()->GetInputManager()->SetCamera(NULL);
|
||||
g_isWorldActive = p_isWorldActive;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user