The WM_LBUTTONDBLCLK message is now handled.

This makes the SPP puzzle mini-game much easier to play.
This commit is contained in:
luigi__ 2009-02-16 22:07:37 +00:00
parent 52fc632ec7
commit 20ff3c2e0f
1 changed files with 2 additions and 0 deletions

View File

@ -931,6 +931,7 @@ DWORD WINAPI run()
CheckMessages();
Sleep(100);
}
if (lpDDClipPrimary!=NULL) IDirectDraw7_Release(lpDDClipPrimary);
if (lpPrimarySurface != NULL) IDirectDraw7_Release(lpPrimarySurface);
if (lpBackSurface != NULL) IDirectDraw7_Release(lpBackSurface);
@ -2143,6 +2144,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
return 0;
case WM_MOUSEMOVE:
case WM_LBUTTONDOWN:
case WM_LBUTTONDBLCLK:
if (wParam & MK_LBUTTON)
{
RECT r ;