Fix map_cons_t[] not having a null terminator, which should hopefully allow Lach to actually start their builds up on Mac again.

This commit is contained in:
toaster 2019-10-28 11:34:20 +00:00
parent c221a89c67
commit 22649f698e
1 changed files with 2 additions and 1 deletions

View File

@ -400,7 +400,8 @@ consvar_t cv_showfocuslost = {"showfocuslost", "Yes", CV_SAVE, CV_YesNo, NULL, 0
static CV_PossibleValue_t map_cons_t[] = {
{1,"MIN"},
{NUMMAPS, "MAX"}
{NUMMAPS, "MAX"},
{0,NULL}
};
consvar_t cv_nextmap = {"nextmap", "1", CV_HIDEN|CV_CALL, map_cons_t, Nextmap_OnChange, 0, NULL, NULL, 0, 0, NULL};