]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't forget to reset drawscale!
authorterencehill <piuntn@gmail.com>
Sun, 26 Jun 2011 16:35:56 +0000 (18:35 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 26 Jun 2011 16:35:56 +0000 (18:35 +0200)
qcsrc/client/hud.qc

index 7b699c44b284fa121bddb7d8905954c522b76565..7173d1b1bb087e7e989214b81cd4b101e182381d 100644 (file)
@@ -4553,7 +4553,10 @@ void HUD_CenterPrint (void)
                                else
                                        pos_y -= fontsize_y * 0.35;
                                if (pos_y < panel_pos_y) // check if the next line can be shown
                                else
                                        pos_y -= fontsize_y * 0.35;
                                if (pos_y < panel_pos_y) // check if the next line can be shown
+                               {
+                                       drawfontscale = '1 1 0';
                                        return;
                                        return;
+                               }
                        }
                        current_msg_pos_y = pos_y; // save starting pos (first line) of the current message
                }
                        }
                        current_msg_pos_y = pos_y; // save starting pos (first line) of the current message
                }