From: terencehill Date: Sat, 21 May 2011 19:55:38 +0000 (+0200) Subject: While an entry is fading out move the successive ones up X-Git-Tag: xonotic-v0.5.0~229 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=52b3efc98e0c8bb916c6a0bd1ca02ca9f2d90b11;p=xonotic%2Fxonotic-data.pk3dir.git While an entry is fading out move the successive ones up --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 82be1a548..fb7ddcf6e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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'; } }