]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't draw the watermark 654/head
authorMartin Taibr <taibr.martin@gmail.com>
Tue, 18 Jun 2019 20:39:58 +0000 (22:39 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Tue, 18 Jun 2019 20:39:58 +0000 (22:39 +0200)
qcsrc/menu/xonotic/util.qc

index 649eafd3f91d8bfd4b9808b3e9507d8ca0ba0ba8..c203a93030a6e986ca646ee5298a9cf6ba891c36 100644 (file)
@@ -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()