From: terencehill Date: Tue, 5 Jul 2011 23:13:59 +0000 (+0200) Subject: After the MOTD self-expired normally, when joining the game it was shown again quickl... X-Git-Tag: xonotic-v0.5.0~152 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9f98772df6aa640fb11b47c608a41edf10962026;p=xonotic%2Fxonotic-data.pk3dir.git After the MOTD self-expired normally, when joining the game it was shown again quickly fading out --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index cee8ebef4..25a26121b 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4535,9 +4535,9 @@ void HUD_CenterPrint (void) { if (j == CENTERPRINT_MAX_MSGS) j = 0; - if (centerprint_time[j] > 0 && centerprint_expire_time[j] < time) + if (centerprint_expire_time[j] < time) { - if (centerprint_countdown_num[j]) + if (centerprint_countdown_num[j] && centerprint_time[j] > 0) { centerprint_countdown_num[j] = centerprint_countdown_num[j] - 1; if (centerprint_countdown_num[j] == 0)