From 4d7f4863c87e02a4101587d6e3efce96697cf9b9 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 23 Nov 2005 03:40:59 +0000 Subject: [PATCH] added a remaining < 1 check to centerprint display code, this might have fixed the problem where it briefly showed the full text at the beginning of a finale git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5821 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_screen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cl_screen.c b/cl_screen.c index fa9bff8e..e89346a0 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -211,6 +211,9 @@ void SCR_DrawCenterString (void) scr_erase_center = 0; start = scr_centerstring; + if (remaining < 1) + return; + if (scr_center_lines <= 4) y = vid_conheight.integer*0.35; else -- 2.39.2