]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Correct comment
authorSamual <samual@xonotic.org>
Mon, 24 Oct 2011 20:29:45 +0000 (16:29 -0400)
committerSamual <samual@xonotic.org>
Mon, 24 Oct 2011 20:29:45 +0000 (16:29 -0400)
qcsrc/client/hud.qc

index b4f24b1c57bcaee2d50009e9b09c642a4415708a..23f8ccd61431c8c745b0e9c9e579501b1c858c9a 100644 (file)
@@ -4741,7 +4741,7 @@ void HUD_CenterPrint (void)
                        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 + CENTERPRINT_SPACING * fontsize_y) * (1 - sqrt(sz));
                                
-                       if (pos_y < panel_pos_y) // check if the next line can be shown
+                       if (pos_y < panel_pos_y) // check if the next message can be shown
                        {
                                drawfontscale = '1 1 0';
                                return;
@@ -4753,7 +4753,7 @@ void HUD_CenterPrint (void)
                        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 + CENTERPRINT_SPACING * fontsize_y) * (1 - sqrt(sz));
                                
-                       if(pos_y > panel_pos_y + panel_size_y - fontsize_y) // check if the next line can be shown
+                       if(pos_y > panel_pos_y + panel_size_y - fontsize_y) // check if the next message can be shown
                        {
                                drawfontscale = '1 1 0';
                                return;