# HG changeset patch # User yoctozepto # Date 1378900385 -7200 # Node ID c24e91e9a10813f6f3afa45c288d99b0c6f11982 # Parent e42073046f924557a1843c1e5bd109176ea82a2b Replace minor Windows constants. diff -r e42073046f92 -r c24e91e9a108 Render.cpp --- a/Render.cpp Tue Sep 10 21:08:43 2013 +0200 +++ b/Render.cpp Wed Sep 11 13:53:05 2013 +0200 @@ -8470,7 +8470,7 @@ { InvalidateRect(0, 0, 0); MoveWindow(hWnd, uWindowX, uWindowY, uWindowWidth, uWindowHeight, 0); - ShowWindow(hWnd, 1); + ShowWindow(hWnd, SW_SHOWNORMAL); } pMouse->bActive = 1; if ( pVideoPlayer->AnyMovieLoaded() ) diff -r e42073046f92 -r c24e91e9a108 mm7_2.cpp --- a/mm7_2.cpp Tue Sep 10 21:08:43 2013 +0200 +++ b/mm7_2.cpp Wed Sep 11 13:53:05 2013 +0200 @@ -3817,7 +3817,7 @@ //----- (00464761) -------------------------------------------------------- void Game_DeinitializeAndTerminate(int exitCode) { - SetPriorityClass(GetCurrentProcess(), 0x20u); + SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS); ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); pGame->Deinitialize(); pRenderer->Release2();