r2321 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Apr 15 21:34:23 EDT 2007
Author: lordhavoc
Date: 2007-04-15 21:34:23 -0400 (Sun, 15 Apr 2007)
New Revision: 2321
Modified:
trunk/data/qcsrc/server/ctf.qc
Log:
round down flag capture times to integer values, the fraction looks
silly ingame
Modified: trunk/data/qcsrc/server/ctf.qc
===================================================================
--- trunk/data/qcsrc/server/ctf.qc 2007-04-15 20:46:39 UTC (rev 2320)
+++ trunk/data/qcsrc/server/ctf.qc 2007-04-16 01:34:23 UTC (rev 2321)
@@ -198,7 +198,7 @@
{
return;
}
- t = time - other.flagcarried.flagpickuptime;
+ t = floor(time - other.flagcarried.flagpickuptime);
if (flagcaptimerecord == 0)
{
bprint(other.netname, "^7 captured the ", other.flagcarried.netname, " in ", ftos(t), " seconds\n");
More information about the nexuiz-commits
mailing list