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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jun 24 01:38:41 EDT 2009


Author: div0
Date: 2009-06-24 01:38:41 -0400 (Wed, 24 Jun 2009)
New Revision: 7093

Modified:
   trunk/data/qcsrc/server/defs.qh
   trunk/data/qcsrc/server/g_world.qc
   trunk/data/qcsrc/server/sv_main.qc
Log:
damn, add back sys_ticrate var


Modified: trunk/data/qcsrc/server/defs.qh
===================================================================
--- trunk/data/qcsrc/server/defs.qh	2009-06-24 05:32:52 UTC (rev 7092)
+++ trunk/data/qcsrc/server/defs.qh	2009-06-24 05:38:41 UTC (rev 7093)
@@ -287,6 +287,7 @@
 
 //sv_timeout: pauses the game by setting the gamespeed to a really low value (see TIMEOUT_SLOWMO_VALUE)
 #define TIMEOUT_SLOWMO_VALUE 0.0001
+float sys_ticrate; // gets initialised in worlspawn, saves the value from cvar("sys_ticrate")
 float remainingTimeoutTime; // contains the time in seconds that the active timeout has left
 float remainingLeadTime; // contains the number of seconds left of the leadtime (before the timeout starts)
 float timeoutStatus; // (values: 0, 1, 2) contains whether a timeout is not active (0), was called but still at leadtime (1) or is active (2)

Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2009-06-24 05:32:52 UTC (rev 7092)
+++ trunk/data/qcsrc/server/g_world.qc	2009-06-24 05:38:41 UTC (rev 7093)
@@ -547,9 +547,6 @@
 
 	Ban_LoadBans();
 
-	//initialise globals related to sv_timeout
-	orig_slowmo = cvar("slowmo");
-
 	MapInfo_Enumerate();
 	MapInfo_FilterGametype(MapInfo_CurrentGametype(), MapInfo_CurrentFeatures(), 0, (g_maplist_allow_hidden ? 0 : MAPINFO_FLAG_HIDDEN) | MAPINFO_FLAG_FORBIDDEN, 1);
 

Modified: trunk/data/qcsrc/server/sv_main.qc
===================================================================
--- trunk/data/qcsrc/server/sv_main.qc	2009-06-24 05:32:52 UTC (rev 7092)
+++ trunk/data/qcsrc/server/sv_main.qc	2009-06-24 05:38:41 UTC (rev 7093)
@@ -169,6 +169,8 @@
 	sv_warsowbunny_turnaccel = cvar("sv_warsowbunny_turnaccel");
 	sv_warsowbunny_backtosideratio = cvar("sv_warsowbunny_backtosideratio");
 	teamplay = cvar ("teamplay");
+	sys_ticrate = cvar("sys_ticrate");
+	orig_slowmo = cvar("slowmo");
 
 	if(teams_matter && !teamplay)
 		teamplay = 3;



More information about the nexuiz-commits mailing list