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

add noactivateapp check

This commit is contained in:
FunkyFr3sh 2018-11-16 08:11:07 +01:00
parent 8714a5b1d8
commit 294e103421

View File

@ -1053,7 +1053,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
// let it pass through once (tiberian sun)
static BOOL oneTime;
if (wParam && !oneTime && !ddraw->hidemouse)
if (wParam && !oneTime && !ddraw->hidemouse && ddraw->noactivateapp)
{
oneTime = TRUE;
break;