r5355 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Dec 29 14:30:05 EST 2008
Author: div0
Date: 2008-12-29 14:30:04 -0500 (Mon, 29 Dec 2008)
New Revision: 5355
Modified:
trunk/data/qcsrc/server/g_world.qc
Log:
allow to bypass cvar checking (cvar_check_default bypass)
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc 2008-12-29 19:12:40 UTC (rev 5354)
+++ trunk/data/qcsrc/server/g_world.qc 2008-12-29 19:30:04 UTC (rev 5355)
@@ -242,11 +242,14 @@
remove = remove_safely; // during spawning, watch what you remove!
- if(cvar_string("cvar_check_default") != CVAR_CHECK_DEFAULT)
- error("Config file mismatch! Please update defaultNexuiz.cfg to match the QuakeC code!");
+ if(cvar_string("cvar_check_default") != "bypass")
+ {
+ if(cvar_string("cvar_check_default") != CVAR_CHECK_DEFAULT)
+ error("Config file mismatch! Please update defaultNexuiz.cfg to match the QuakeC code!");
- if(cvar_string("cvar_check_weapons") != CVAR_CHECK_WEAPONS)
- error("Config file mismatch! Please update weapons.cfg and weaponsPro.cfg to match the QuakeC code!");
+ if(cvar_string("cvar_check_weapons") != CVAR_CHECK_WEAPONS)
+ error("Config file mismatch! Please update weapons.cfg and weaponsPro.cfg to match the QuakeC code!");
+ }
compressShortVector_init();
More information about the nexuiz-commits
mailing list