1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

allow moving the window to any position (tiberian sun)

This commit is contained in:
FunkyFr3sh 2018-11-15 09:51:41 +01:00
parent 5e4de793d4
commit a252b3724d

View File

@ -925,6 +925,10 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
return DefWindowProc(hWnd, uMsg, wParam, lParam); /* Carmageddon fix */
}
case WM_MOVING:
{
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}
case WM_MOVE:
{
if (ddraw->windowed)