From 5adfdf9516ab99637af7b0bb05b8978b397ca0aa Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Tue, 30 Jan 2018 22:48:53 +0000 Subject: [PATCH] cv_playername already has a valid default value of "Sonic". We do NOT need to expose things like this. --- src/d_netcmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 3696dd97..673d64fd 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -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)