[nexuiz-commits] r6389 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Mar 31 04:32:27 EDT 2009
Author: div0
Date: 2009-03-31 04:32:26 -0400 (Tue, 31 Mar 2009)
New Revision: 6389
Modified:
trunk/data/qcsrc/server/campaign.qc
Log:
fix the low gravity campaign level
Modified: trunk/data/qcsrc/server/campaign.qc
===================================================================
--- trunk/data/qcsrc/server/campaign.qc 2009-03-31 08:16:30 UTC (rev 6388)
+++ trunk/data/qcsrc/server/campaign.qc 2009-03-31 08:32:26 UTC (rev 6389)
@@ -94,6 +94,10 @@
cvar_set("bot_number", ftos(campaign_bots[0]));
MapInfo_SwitchGameType(MapInfo_Type_FromString(campaign_gametype[0]));
+ // copy sv_gravity cvar, as the engine needs it too (sorry, this will mess
+ // with the menu a little still...)
+ cvar_set_builtin("sv_gravity", cvar_string("sv_gravity"));
+
if(Campaign_Invalid())
return;
More information about the nexuiz-commits
mailing list