]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix centerprint msg occasionally showing again for just 1 frame after it faded out
authorterencehill <piuntn@gmail.com>
Sat, 3 Sep 2011 16:02:56 +0000 (18:02 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 3 Sep 2011 16:02:56 +0000 (18:02 +0200)
qcsrc/client/hud.qc

index a1aae684f755e0aaa82f0ff5601d3f5fecbe1f11..b0604c73ae8f1d1d57554d0e78fe04ac9d9b7961 100644 (file)
@@ -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)
                        {