From e29fc9165e7217fe96e0ad6c8a85d0d12b1ae91a Mon Sep 17 00:00:00 2001 From: Eric Windisch Date: Sun, 9 Jan 2000 07:52:39 +0000 Subject: [PATCH] Reimplimented evil #define in menu.c cuz it wasn't working otherwise :) Fixed a bug that im still not sure why Adamel implimented, he had it assuming that every target has 15 entries, when they don't. -- Eric Windisch --- uquake/menu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uquake/menu.c b/uquake/menu.c index a711dbc..b5c7191 100644 --- a/uquake/menu.c +++ b/uquake/menu.c @@ -1064,10 +1064,14 @@ again: #define SLIDER_RANGE 10 +#define LOCAL_OPTIONS_ITEMS 12 extern int VID_options_items; static int options_cursor; -#define options_items 15 + +// 12 in following is # of local entries +#define options_items (VID_options_items+LOCAL_OPTIONS_ITEMS) + void M_Menu_Options_f (void) {