From: terencehill Date: Sun, 26 Jun 2011 17:00:15 +0000 (+0200) Subject: Do not wrap differently the msg while fading out X-Git-Tag: xonotic-v0.5.0~177 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=809331246acf9722624f1adc8e9de00257746738 Do not wrap differently the msg while fading out --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 7173d1b1bb..da0ffbb15a 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4547,7 +4547,7 @@ void HUD_CenterPrint (void) for(k = 0; k < n; ++k) { getWrappedLine_remaining = argv(k); - ts = getWrappedLine(panel_size_x, fontsize, stringwidth_colors); + ts = getWrappedLine(panel_size_x * sz, fontsize, stringwidth_colors); if (ts != "") pos_y -= fontsize_y; else @@ -4566,7 +4566,7 @@ void HUD_CenterPrint (void) getWrappedLine_remaining = argv(k); while(getWrappedLine_remaining) { - ts = getWrappedLine(panel_size_x, fontsize, stringwidth_colors); + ts = getWrappedLine(panel_size_x * sz, fontsize, stringwidth_colors); if (ts != "") { if (align)