]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added a remaining < 1 check to centerprint display code, this might have fixed the...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Nov 2005 03:40:59 +0000 (03:40 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Nov 2005 03:40:59 +0000 (03:40 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5821 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index fa9bff8ec078f54f24f7a98ef6abddae296baa48..e89346a0bc7b70af70e35991bbb98fd210f51f64 100644 (file)
@@ -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