]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Do not wrap differently the msg while fading out
authorterencehill <piuntn@gmail.com>
Sun, 26 Jun 2011 17:00:15 +0000 (19:00 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 26 Jun 2011 17:00:15 +0000 (19:00 +0200)
qcsrc/client/hud.qc

index 7173d1b1bb087e7e989214b81cd4b101e182381d..da0ffbb15a1dac8e9f86822e47870d1a5e58767c 100644 (file)
@@ -4547,7 +4547,7 @@ void HUD_CenterPrint (void)
                        for(k = 0; k < n; ++k)
                        {
                                getWrappedLine_remaining = argv(k);
                        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
                                if (ts != "")
                                        pos_y -= fontsize_y;
                                else
@@ -4566,7 +4566,7 @@ void HUD_CenterPrint (void)
                        getWrappedLine_remaining = argv(k);
                        while(getWrappedLine_remaining)
                        {
                        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)
                                if (ts != "")
                                {
                                        if (align)