Client: Substitute vid_fullscreen_standalone for vid_fullscreen (fixes #1)

This commit is contained in:
unknown 2022-04-06 07:52:21 -04:00
parent 2b07dd561c
commit f2a80afd3b
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ noref void(float apiver, string enginename, float enginever) CSQC_Init =
// default/current width and height
active_swidth = cvar("vid_width");
active_sheight = cvar("vid_height");
fullscreenval = cvar("vid_fullscreen_standalone");
fullscreenval = cvar("vid_fullscreen");
// 5:4
screen_width_54[0] = 1280;

View file

@ -520,7 +520,7 @@ void() settings_apply = {
if (in_menu == MENU_GSETTINGS) {
localcmd(strcat("vid_width ", ftos(active_swidth), "\n"));
localcmd(strcat("vid_height ", ftos(active_sheight), "\n"));
localcmd(strcat("vid_fullscreen_standalone ", ftos(fullscreenval), "\n"));
localcmd(strcat("vid_fullscreen ", ftos(fullscreenval), "\n"));
localcmd("vid_restart\n");
}