From d83de406087b62907d6d36b7dc62b9376a48847b Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 19 Aug 2012 12:55:35 +0000 Subject: [PATCH] Always draw the full original status bar fully instead of in patches. It seems like I broke the blitty/patchy way of drawing it with one of the last commits. git-svn-id: https://svn.eduke32.com/eduke32@2926 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index ef30fc95f..e8062ba73 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -1494,9 +1494,14 @@ static void G_DrawStatusBar(int32_t snum) } } } - +#if 0 if (u == 0) return; +#else + // FIXME: full status bar draws rectangles in the wrong places when it's + // updated partially. + u = -1; +#endif //0 - update health //1 - update armor