]> git.xonotic.org Git - xonotic/darkplaces.git/commit
changed cvar default setup code such that cvar default strings are locked after execu...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Jun 2006 17:30:56 +0000 (17:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Jun 2006 17:30:56 +0000 (17:30 +0000)
commit3e4cb8b74cb236070bbfa2edfbbd40eecc993852
tree7bc912f95d95cc341039abd083bec902e2abf2ec
parent6425023d254b094f887038fb2b3ec2b52fd18b65
changed cvar default setup code such that cvar default strings are locked after executing default.cfg the first time (that is to say, their current values are copied into their default strings at this point), this fixes unsaved cvar problems in nexuiz caused by the default string being out of date on cvars that were modified by default.cfg
changed Reset To Defaults option in menu to use a newly added cvar_resettodefaults_all command before execing default.cfg to reset the binds

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6454 d7cf8633-e32d-0410-b094-e92efae38249
cmd.c
cvar.c
cvar.h
host_cmd.c
menu.c