mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Readability
This commit is contained in:
parent
252eb21a07
commit
fceb8c2da4
@ -21,9 +21,11 @@ MxResult Bike::Create(MxDSAction& p_dsAction)
|
|||||||
{
|
{
|
||||||
MxResult result = IslePathActor::Create(p_dsAction);
|
MxResult result = IslePathActor::Create(p_dsAction);
|
||||||
m_world = CurrentWorld();
|
m_world = CurrentWorld();
|
||||||
|
|
||||||
if (m_world) {
|
if (m_world) {
|
||||||
m_world->Add(this);
|
m_world->Add(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -45,6 +45,7 @@ MxResult HistoryBook::Create(MxDSAction& p_dsAction)
|
|||||||
MxLong HistoryBook::Notify(MxParam& p_param)
|
MxLong HistoryBook::Notify(MxParam& p_param)
|
||||||
{
|
{
|
||||||
LegoWorld::Notify(p_param);
|
LegoWorld::Notify(p_param);
|
||||||
|
|
||||||
if (m_worldStarted) {
|
if (m_worldStarted) {
|
||||||
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
switch (((MxNotificationParam&) p_param).GetNotification()) {
|
||||||
case c_notificationButtonUp:
|
case c_notificationButtonUp:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user