From: terencehill Date: Sat, 3 Sep 2011 16:02:56 +0000 (+0200) Subject: Fix centerprint msg occasionally showing again for just 1 frame after it faded out X-Git-Tag: xonotic-v0.6.0~40^2~118^2~20^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4ae1763d2ab46124e12b57f0a459b642b4dd8ef;p=xonotic%2Fxonotic-data.pk3dir.git Fix centerprint msg occasionally showing again for just 1 frame after it faded out --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index a1aae684f..b0604c73a 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4539,7 +4539,7 @@ void HUD_CenterPrint (void) { if (j == CENTERPRINT_MAX_MSGS) j = 0; - if (centerprint_expire_time[j] < time) + if (centerprint_expire_time[j] <= time) { if (centerprint_countdown_num[j] && centerprint_time[j] > 0) {