cv_playername already has a valid default value of "Sonic". We do NOT need to expose things like this.
This commit is contained in:
1 parent
8090ea4ed0
commit
5adfdf9516
1 file changed
-3
@@ -582,7 +582,6 @@ void D_RegisterServerCommands(void)
|
||||
*/
|
||||
void D_RegisterClientCommands(void)
|
||||
{
|
||||
const char *username;
|
||||
INT32 i;
|
||||
|
||||
for (i = 0; i < MAXSKINCOLORS; i++)
|
||||
@@ -639,8 +638,6 @@ void D_RegisterClientCommands(void)
|
||||
#endif
|
||||
|
||||
// register these so it is saved to config
|
||||
if ((username = I_GetUserName()))
|
||||
cv_playername.defaultvalue = username;
|
||||
CV_RegisterVar(&cv_playername);
|
||||
CV_RegisterVar(&cv_playercolor);
|
||||
CV_RegisterVar(&cv_skin); // r_things.c (skin NAME)
|
||||
|
||||
Reference in new issue
Block a user