]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
put the watermark in an ifdef
authorRudolf Polzer <divverent@alientrap.org>
Fri, 1 Apr 2011 16:48:02 +0000 (18:48 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 1 Apr 2011 16:48:02 +0000 (18:48 +0200)
qcsrc/server/playerstats.qc

index b430e8f051b5735bc807635cffea8202291b674d..2bb5540d6b26680cd4027bcf3739a12c90812dae 100644 (file)
@@ -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()));