]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
While an entry is fading out move the successive ones up
authorterencehill <piuntn@gmail.com>
Sat, 21 May 2011 19:55:38 +0000 (21:55 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 21 May 2011 19:55:38 +0000 (21:55 +0200)
qcsrc/client/hud.qc

index 82be1a54877cb8a7a654b71e869f69b60a67b54a..fb7ddcf6edaab2310a7b91f232c97587df5e74c6 100644 (file)
@@ -354,6 +354,8 @@ void HUD_DrawCenterPrint (void)
                        }
                }
                pos_y += centerprint_fontsize_y * 0.5;
+               if (a < 1)
+                       pos_y -= 1.5 * centerprint_fontsize_y * (1 - a*a);
                drawfontscale = '1 1 0';
        }
 }