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

Disable ALT+ENTER on Infantry Online Zone List Window for now

This commit is contained in:
FunkyFr3sh 2024-03-25 01:41:02 +01:00
parent 18c3b3927c
commit ed7296220b

View File

@ -423,7 +423,8 @@ void util_toggle_maximize()
void util_toggle_fullscreen()
{
if (g_ddraw.bnet_active)
/* Disable ALT+ENTER on battle.net and Infantry Online Zone List Window */
if (g_ddraw->bnet_active || (g_config.infantryhack && GetMenu(g_ddraw->hwnd)))
return;
if (g_config.toggle_borderless && g_config.windowed)