1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +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() 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; return;
if (g_config.toggle_borderless && g_config.windowed) if (g_config.toggle_borderless && g_config.windowed)