From cbe56b1b0682f6d58fcdef6a38befc54ee09d16e Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sat, 27 May 2017 12:36:33 +0100 Subject: [PATCH] Essentially - show how close the numwadfiles is getting to the maximum as WELL as the packetsizetally. --- src/m_menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 24dffbdf2..9072dd5b0 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4870,11 +4870,14 @@ static void M_DrawAddons(void) if (numwadfiles <= mainwads+1) y = 0; - else if (numwadfiles >= MAX_WADFILES) // difficult to happen with current limits, but still worth thinking of + else if (numwadfiles >= MAX_WADFILES) y = FRACUNIT; else { + x = FixedDiv((numwadfiles - mainwads+1)< y) + y = x; if (y > FRACUNIT) // happens because of how we're shrinkin' it a little y = FRACUNIT; }