add missing check
This commit is contained in:
parent
86e3de4ad6
commit
336eb1bdba
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
BOOL result = real_PeekMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
|
||||||
|
|
||||||
if (result)
|
if (result && g_ddraw->hook_peekmessage)
|
||||||
{
|
{
|
||||||
switch (lpMsg->message)
|
switch (lpMsg->message)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue