From 966ed528c051074bbc013628c15d046c6cdbc77a Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Tue, 18 Jun 2019 22:39:58 +0200 Subject: [PATCH] don't draw the watermark --- qcsrc/menu/xonotic/util.qc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index 649eafd3f..c203a9303 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -542,18 +542,7 @@ float preMenuInit() string campaign_name_previous; float campaign_won_previous; -#ifdef WATERMARK -string autocvar_menu_watermark = WATERMARK; -#else -string autocvar_menu_watermark = ""; -#endif -void postMenuDraw() -{ - if(autocvar_menu_watermark != "") - { - draw_CenterText('0.5 0.1 0', sprintf(_("^1%s TEST BUILD"), autocvar_menu_watermark), globalToBoxSize('32 32 0', draw_scale), '1 1 1', 0.05, 1); - } -} +void postMenuDraw() {} void DialogOpenButton_Click_withCoords(entity button, entity tab, vector theOrigin, vector theSize); .entity winnerDialog; void preMenuDraw() -- 2.39.2