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

allow cursor lock while playing videos

This commit is contained in:
FunkyFr3sh 2023-10-16 02:14:06 +02:00
parent e874a7e305
commit 743907669e

View File

@ -755,11 +755,6 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
case WM_RBUTTONUP:
case WM_MBUTTONUP:
{
if (g_ddraw->video_window_exists)
{
return 0;
}
if (!g_config.devmode && !g_mouse_locked)
{
int x = GET_X_LPARAM(lParam);