mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 07:28:00 -05:00
improved accuracy of call to LegoOmni::Create
This commit is contained in:
parent
bc56f56da9
commit
4570487067
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue