mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-19 18:40:53 +00:00
Fix custom resolution handling in the video menu.
This commit is contained in:
parent
602dd1af6f
commit
f292c1e22d
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
#include "../../client/header/client.h"
|
#include "../../client/header/client.h"
|
||||||
#include "../../client/menu/header/qmenu.h"
|
#include "../../client/menu/header/qmenu.h"
|
||||||
|
|
||||||
#define CUSTOM_MODE 20
|
#define CUSTOM_MODE 23
|
||||||
|
|
||||||
extern void M_ForceMenuOff(void);
|
extern void M_ForceMenuOff(void);
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ VID_MenuInit(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* custom mode */
|
/* custom mode */
|
||||||
if (gl_mode->value >= 1.0)
|
if (gl_mode->value >= 0)
|
||||||
{
|
{
|
||||||
s_mode_list.curvalue = gl_mode->value;
|
s_mode_list.curvalue = gl_mode->value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue