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

fix peekmessage hook for New Robinson

This commit is contained in:
FunkyFr3sh 2023-03-06 03:48:50 +01:00
parent 7a40149966
commit 1324a96740

View File

@ -608,7 +608,8 @@ BOOL WINAPI fake_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT w
{
if (!g_ddraw->devmode && !g_mouse_locked)
{
return FALSE;
// Does not work with 'New Robinson'
//return FALSE;
}
int x = max(GET_X_LPARAM(lpMsg->lParam) - g_ddraw->mouse.x_adjust, 0);