r4089 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Aug 10 07:55:22 EDT 2008


Author: div0
Date: 2008-08-10 07:55:22 -0400 (Sun, 10 Aug 2008)
New Revision: 4089

Modified:
   trunk/data/qcsrc/server/race.qc
Log:
oops ;)


Modified: trunk/data/qcsrc/server/race.qc
===================================================================
--- trunk/data/qcsrc/server/race.qc	2008-08-10 11:53:53 UTC (rev 4088)
+++ trunk/data/qcsrc/server/race.qc	2008-08-10 11:55:22 UTC (rev 4089)
@@ -80,7 +80,7 @@
 		else
 		{
 			s = PlayerScore_Add(e, SP_RACE_TIME, 0);
-			PlayerScore_Add(e, SP_RACE_TIME, time - s);
+			PlayerScore_Add(e, SP_RACE_TIME, floor(0.5 + 10 * (time - s)));
 			PlayerTeamScore_Add(e, SP_RACE_LAPS, ST_RACE_LAPS, 1);
 		}
 	}




More information about the nexuiz-commits mailing list