]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/chat.qc
Merge branch 'terencehill/dynamic_hud' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / chat.qc
index 02df4ed6290f1af6398b64e8b016cc699dd1b218..a27e7b9070f109e2786edde44affdf1ff7f9193d 100644 (file)
@@ -1,3 +1,4 @@
+#include "chat.qh"
 /** Handle chat as a panel (#12) */
 void HUD_Chat()
 {
@@ -53,6 +54,8 @@ void HUD_Chat()
        pos = panel_pos;
        mySize = panel_size;
 
+       // chat messages don't scale properly since they are displayed directly by the engine
+       HUD_Scale_Disable();
        HUD_Panel_DrawBg(1);
 
        if(panel_bg_padding)