Fix custom resolution handling in the video menu.

This commit is contained in:
Sander van Dijk 2012-08-04 10:11:33 +02:00 committed by Yamagi Burmeister
parent 602dd1af6f
commit f292c1e22d

View file

@ -28,7 +28,7 @@
#include "../../client/header/client.h"
#include "../../client/menu/header/qmenu.h"
#define CUSTOM_MODE 20
#define CUSTOM_MODE 23
extern void M_ForceMenuOff(void);
@ -242,7 +242,7 @@ VID_MenuInit(void)
}
/* custom mode */
if (gl_mode->value >= 1.0)
if (gl_mode->value >= 0)
{
s_mode_list.curvalue = gl_mode->value;
}