diff --git a/LEGO1/lego/legoomni/src/isle/bike.cpp b/LEGO1/lego/legoomni/src/isle/bike.cpp index 8cae936c..484cef9b 100644 --- a/LEGO1/lego/legoomni/src/isle/bike.cpp +++ b/LEGO1/lego/legoomni/src/isle/bike.cpp @@ -21,9 +21,11 @@ MxResult Bike::Create(MxDSAction& p_dsAction) { MxResult result = IslePathActor::Create(p_dsAction); m_world = CurrentWorld(); + if (m_world) { m_world->Add(this); } + return result; } diff --git a/LEGO1/lego/legoomni/src/isle/historybook.cpp b/LEGO1/lego/legoomni/src/isle/historybook.cpp index 3699c2a2..2e6691a7 100644 --- a/LEGO1/lego/legoomni/src/isle/historybook.cpp +++ b/LEGO1/lego/legoomni/src/isle/historybook.cpp @@ -45,6 +45,7 @@ MxResult HistoryBook::Create(MxDSAction& p_dsAction) MxLong HistoryBook::Notify(MxParam& p_param) { LegoWorld::Notify(p_param); + if (m_worldStarted) { switch (((MxNotificationParam&) p_param).GetNotification()) { case c_notificationButtonUp: