From: terencehill Date: Tue, 28 Jun 2011 22:30:09 +0000 (+0200) Subject: Slow initial movement X-Git-Tag: xonotic-v0.5.0~167 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bec5968aa7a8f17499e968cc4d88be9dc7ffa36e;p=xonotic%2Fxonotic-data.pk3dir.git Slow initial movement --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 978ef7770..b418a620c 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4613,13 +4613,13 @@ void HUD_CenterPrint (void) { pos_y = current_msg_pos_y - 0.7 * fontsize_y; if (a < 1 && centerprint_msgID[j] == 0) // messages with id can be replaced just after they are faded out, so never move over them the next messages - pos_y += (msg_size + 0.7 * fontsize_y) * (1 - a*a); + pos_y += (msg_size + 0.7 * fontsize_y) * (1 - sqrt(a)); } else { pos_y += 0.7 * fontsize_y; if (a < 1 && centerprint_msgID[j] == 0) // messages with id can be replaced just after they are faded out, so never move over them the next messages - pos_y -= (msg_size + 0.7 * fontsize_y) * (1 - a*a); + pos_y -= (msg_size + 0.7 * fontsize_y) * (1 - sqrt(a)); } } drawfontscale = '1 1 0';