[nexuiz-commits] r6766 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun May 24 06:40:30 EDT 2009


Author: div0
Date: 2009-05-24 06:40:30 -0400 (Sun, 24 May 2009)
New Revision: 6766

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
include game_starttime in respawn time calc


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2009-05-24 09:36:07 UTC (rev 6765)
+++ trunk/data/qcsrc/server/t_items.qc	2009-05-24 10:40:30 UTC (rev 6766)
@@ -124,7 +124,7 @@
 
 void Item_ScheduleInitialRespawn(entity e)
 {
-	Item_ScheduleRespawnIn(e, ITEM_RESPAWNTIME_INITIAL(e));
+	Item_ScheduleRespawnIn(e, game_starttime - time + ITEM_RESPAWNTIME_INITIAL(e));
 }
 
 float Item_GiveTo(entity item, entity player)



More information about the nexuiz-commits mailing list