+
+ // Show title if available
+ if(centerprint_title_show) {
+ vector fontsize = hud_fontsize * autocvar_hud_panel_centerprint_fontscale_title;
+
+ pos.x = panel_pos.x + (panel_size.x - stringwidth(centerprint_title, true, fontsize)) * align;
+ drawcolorcodedstring(pos, centerprint_title, fontsize, 1, DRAWFLAG_NORMAL);
+
+ if (autocvar_hud_panel_centerprint_flip)
+ pos.y -= fontsize.y + CENTERPRINT_TITLE_SPACING;
+ else
+ pos.y += fontsize.y + CENTERPRINT_TITLE_SPACING;
+
+ all_messages_expired = false;
+ }
+