mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
add noactivateapp check
This commit is contained in:
parent
8714a5b1d8
commit
294e103421
@ -1053,7 +1053,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
{
|
{
|
||||||
// let it pass through once (tiberian sun)
|
// let it pass through once (tiberian sun)
|
||||||
static BOOL oneTime;
|
static BOOL oneTime;
|
||||||
if (wParam && !oneTime && !ddraw->hidemouse)
|
if (wParam && !oneTime && !ddraw->hidemouse && ddraw->noactivateapp)
|
||||||
{
|
{
|
||||||
oneTime = TRUE;
|
oneTime = TRUE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user