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

show correct cursor when mouse isn't locked

This commit is contained in:
FunkyFr3sh 2019-08-09 06:16:23 +02:00
parent dc0548c1df
commit 3e64d12cf6

View File

@ -1039,6 +1039,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
default:
break;
}
if (htcode == HTCLIENT && !ddraw->locked)
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}
}