r5655 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jan 24 14:09:12 EST 2009


Author: div0
Date: 2009-01-24 14:09:12 -0500 (Sat, 24 Jan 2009)
New Revision: 5655

Modified:
   trunk/data/qcsrc/server/scores.qc
Log:
fix a warning


Modified: trunk/data/qcsrc/server/scores.qc
===================================================================
--- trunk/data/qcsrc/server/scores.qc	2009-01-24 16:35:39 UTC (rev 5654)
+++ trunk/data/qcsrc/server/scores.qc	2009-01-24 19:09:12 UTC (rev 5655)
@@ -90,7 +90,7 @@
 	entity s;
 
 	if(gameover)
-		return;
+		score = 0;
 
 	if(!scores_initialized) return 0; // FIXME remove this when everything uses this system
 	if(t <= 0 || t >= 16)
@@ -290,7 +290,7 @@
 	entity s;
 
 	if(gameover)
-		return;
+		score = 0;
 
 	if(!scores_initialized) return 0; // FIXME remove this when everything uses this system
 	s = player.scorekeeper;




More information about the nexuiz-commits mailing list