From: Rudolf Polzer Date: Fri, 1 Apr 2011 16:48:02 +0000 (+0200) Subject: put the watermark in an ifdef X-Git-Tag: xonotic-v0.5.0~305^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a5b4dca2f4950106e36c974e88a77602e3eda19b;p=xonotic%2Fxonotic-data.pk3dir.git put the watermark in an ifdef --- diff --git a/qcsrc/server/playerstats.qc b/qcsrc/server/playerstats.qc index b430e8f05..2bb5540d6 100644 --- a/qcsrc/server/playerstats.qc +++ b/qcsrc/server/playerstats.qc @@ -192,7 +192,9 @@ void PlayerStats_Shutdown() db_dump(playerstats_db, "foo.db"); bufstr_set(b, i++, "V 1"); +#ifdef WATERMARK bufstr_set(b, i++, sprintf("R %s", WATERMARK())); +#endif bufstr_set(b, i++, sprintf("T %s.%06d", strftime(FALSE, "%s"), floor(random() * 1000000))); bufstr_set(b, i++, sprintf("G %s", GetGametype())); bufstr_set(b, i++, sprintf("M %s", GetMapname()));