[nexuiz-commits] r8440 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Dec 20 09:15:02 EST 2009
Author: div0
Date: 2009-12-20 09:15:01 -0500 (Sun, 20 Dec 2009)
New Revision: 8440
Modified:
trunk/data/qcsrc/server/cl_client.qc
Log:
give invisible names a random ID too
Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc 2009-12-20 14:09:17 UTC (rev 8439)
+++ trunk/data/qcsrc/server/cl_client.qc 2009-12-20 14:15:01 UTC (rev 8440)
@@ -2919,7 +2919,7 @@
// Savage: Check for nameless players
if (isInvisibleString(self.netname)) {
self.netname = "Player";
- stuffcmd(self, "seta _cl_name Player\n");
+ stuffcmd(self, strcat("name ", self.netname, substring(ftos(random()), 2, -1), "\n"));
}
// send the clients accuracy stats to the client
More information about the nexuiz-commits
mailing list