From 22649f698e9e494467f0cdeadb372c92555df461 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 28 Oct 2019 11:34:20 +0000 Subject: [PATCH] Fix map_cons_t[] not having a null terminator, which should hopefully allow Lach to actually start their builds up on Mac again. --- src/m_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 54c0b6c87..8fe782cac 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -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};