1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Remove obsolete message handling

This commit is contained in:
Mathieu Schroeter 2017-02-02 18:03:48 +01:00
parent e7e1b4cc15
commit 5ac40cba9c

View File

@ -313,7 +313,6 @@ LRESULT CALLBACK WindowProc2 (HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam,
const SDL_Event *event)
{
static HINSTANCE hInstance;
POINT totalDim, iconDim;
// La touche F10 envoie un autre message pour activer
@ -332,10 +331,6 @@ LRESULT CALLBACK WindowProc2 (HWND hWnd, UINT message,
switch( message )
{
case WM_CREATE:
hInstance = ((LPCREATESTRUCT)lParam)->hInstance;
return 0;
case MM_MCINOTIFY:
OutputDebug("Event MM_MCINOTIFY\n");
if ( g_pEvent->IsMovie() ) // film en cours ?