From cf63efe230abb120dbce355842191880cda6dc27 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:46:16 -0500 Subject: [PATCH] Update legogamestate.cpp --- LEGO1/lego/legoomni/src/common/legogamestate.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index 78d0bc12..3c6b34a9 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -469,7 +469,14 @@ void LegoGameState::SwitchArea(MxU32 p_area) InvokeAction(Extra::ActionType::e_opendisk, *g_isleScript, 0, NULL); } else { +#ifdef COMPAT_MODE + { + MxNotificationParam param(c_notificationType20, NULL); + NotificationManager()->Send((MxCore*) world, ¶m); + } +#else NotificationManager()->Send((MxCore*) world, &MxNotificationParam(c_notificationType20, NULL)); +#endif } break; case 12: