mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 21:31:32 +00:00
cv_playername already has a valid default value of "Sonic". We do NOT need to expose things like this.
This commit is contained in:
parent
8090ea4ed0
commit
5adfdf9516
1 changed files with 0 additions and 3 deletions
|
@ -582,7 +582,6 @@ void D_RegisterServerCommands(void)
|
||||||
*/
|
*/
|
||||||
void D_RegisterClientCommands(void)
|
void D_RegisterClientCommands(void)
|
||||||
{
|
{
|
||||||
const char *username;
|
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
for (i = 0; i < MAXSKINCOLORS; i++)
|
for (i = 0; i < MAXSKINCOLORS; i++)
|
||||||
|
@ -639,8 +638,6 @@ void D_RegisterClientCommands(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// register these so it is saved to config
|
// register these so it is saved to config
|
||||||
if ((username = I_GetUserName()))
|
|
||||||
cv_playername.defaultvalue = username;
|
|
||||||
CV_RegisterVar(&cv_playername);
|
CV_RegisterVar(&cv_playername);
|
||||||
CV_RegisterVar(&cv_playercolor);
|
CV_RegisterVar(&cv_playercolor);
|
||||||
CV_RegisterVar(&cv_skin); // r_things.c (skin NAME)
|
CV_RegisterVar(&cv_skin); // r_things.c (skin NAME)
|
||||||
|
|
Loading…
Reference in a new issue