mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 14:14:47 +01:00
add missing check
This commit is contained in:
parent
86e3de4ad6
commit
336eb1bdba
@ -557,7 +557,7 @@ BOOL WINAPI fake_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT w
|
||||
{
|
||||
BOOL result = real_PeekMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
|
||||
|
||||
if (result)
|
||||
if (result && g_ddraw->hook_peekmessage)
|
||||
{
|
||||
switch (lpMsg->message)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user