From 45704870672235a78cc5830d72c03c8707f705e9 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Sat, 29 Apr 2023 20:38:44 -0700 Subject: [PATCH] improved accuracy of call to LegoOmni::Create --- app/isle.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/isle.cpp b/app/isle.cpp index 3bac301d..55dc91aa 100644 --- a/app/isle.cpp +++ b/app/isle.cpp @@ -249,9 +249,7 @@ BOOL Isle::setupLegoOmni() char mediaPath[256]; GetProfileStringA("LEGO Island", "MediaPath", "", mediaPath, 256); - MxOmniCreateParam createParam(mediaPath, (struct HWND__ *) m_windowHandle, m_videoParam, MxOmniCreateFlags()); - - if (Lego()->Create(createParam) != FAILURE) { + if (Lego()->Create(MxOmniCreateParam(mediaPath, (struct HWND__ *) m_windowHandle, m_videoParam, MxOmniCreateFlags())) != FAILURE) { VariableTable()->SetVariable("ACTOR_01", ""); TickleManager()->vtable1c(VideoManager(), 10); return TRUE;