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

give bnet lobby a name to make OBS auto scene switcher working with the game

This commit is contained in:
FunkyFr3sh 2021-11-28 12:49:13 +01:00
parent 6a38496bf7
commit 6e9307a422

View File

@ -720,6 +720,11 @@ HWND WINAPI fake_CreateWindowExA(
Y += pt.y;
dwStyle |= WS_CLIPCHILDREN;
if (lpWindowName && !lpWindowName[0])
{
lpWindowName = "Bnet Lobby";
}
}
return real_CreateWindowExA(