Mercurial > might-and-magic-trilogy
diff OSAPI.cpp @ 50:fde5c5acb66e
BLV render
author | Nomad |
---|---|
date | Tue, 23 Oct 2012 23:38:05 +0200 |
parents | 509744251c8e |
children | 918dca162239 |
line wrap: on
line diff
--- a/OSAPI.cpp Tue Oct 23 13:51:21 2012 +0200 +++ b/OSAPI.cpp Tue Oct 23 23:38:05 2012 +0200 @@ -9,8 +9,9 @@ int __stdcall wWinMain(HINSTANCE hInstance, HINSTANCE, wchar_t *lpCmdLine, int nShowCmd) { Log::Initialize(); - - if (HWND hMM7Window = FindWindowW(L"MM7", 0)) + + //if (HWND hMM7Window = FindWindowW(L"MM7", 0)) + if (HWND hMM7Window = FindWindowW(L"M&MTrilogy", 0)) { if (IsIconic(hMM7Window)) ShowWindow(hMM7Window, SW_RESTORE);