1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

add windowed check

This commit is contained in:
FunkyFr3sh 2023-07-05 18:04:06 +02:00
parent 53fc392f4e
commit ece4d8bdd4

View File

@ -333,7 +333,7 @@ void util_toggle_fullscreen()
if (g_ddraw->bnet_active) if (g_ddraw->bnet_active)
return; return;
if (g_ddraw->toggle_borderless) if (g_ddraw->toggle_borderless && g_ddraw->windowed)
{ {
if (!g_ddraw->fullscreen) if (!g_ddraw->fullscreen)
{ {