mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix peekmessage hook for New Robinson
This commit is contained in:
parent
7a40149966
commit
1324a96740
@ -608,7 +608,8 @@ BOOL WINAPI fake_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT w
|
|||||||
{
|
{
|
||||||
if (!g_ddraw->devmode && !g_mouse_locked)
|
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);
|
int x = max(GET_X_LPARAM(lpMsg->lParam) - g_ddraw->mouse.x_adjust, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user