]> icculus.org git repositories - divverent/nexuiz.git/commit
major cleanup of game type loading (closes some bug on SF)
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 25 Aug 2008 06:35:52 +0000 (06:35 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 25 Aug 2008 06:35:52 +0000 (06:35 +0000)
commit7f20fc08376682452f464acd707bca89cec3ed4c
tree1588406c0fdffb01650b88804c80c878dac30378
parent6cd9821459a2fa5022cc86cd5cadb4929c988150
major cleanup of game type loading (closes some bug on SF)
new feature: if multiple game type cvars are set, the one NOT matching the last game is used
makes "g_ctf 1; changelevel dismal" work no matter what other game type cvars are set
gamecfg cvar is no longer used for switching game types, bot for AVOIDING one (nobody used that anyway); it now always contains the CURRENT game type

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@4177 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
data/qcsrc/server/defs.qh
data/qcsrc/server/g_world.qc
data/qcsrc/server/miscfunctions.qc
data/qcsrc/server/teamplay.qc