Use colorcode copy for init
This commit is contained in:
parent
f3fbb80de2
commit
96c9b029c5
2 changed files with 4 additions and 4 deletions
|
|
@ -3576,8 +3576,8 @@ static void SV_GenContext(void)
|
|||
server_context[i] = 'a'+(a-26);
|
||||
}
|
||||
|
||||
strncpy(connectedservername, cv_servername.string, MAXSERVERNAME);
|
||||
strncpy(connectedservercontact, cv_server_contact.string, MAXSERVERCONTACT);
|
||||
CopyCaretColors(connectedservername, cv_servername.string, MAXSERVERNAME);
|
||||
CopyCaretColors(connectedservercontact, cv_server_contact.string, MAXSERVERCONTACT);
|
||||
strncpy(connectedserverdescription, DEFAULTDESCSTRING, MAXSERVERDESCRIPTION);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -509,8 +509,8 @@ Update_parameters (void)
|
|||
// Lets update Clients on this info.
|
||||
if (Playing() && server)
|
||||
{
|
||||
strncpy(connectedservername, cv_servername.string, MAXSERVERNAME);
|
||||
strncpy(connectedservercontact, cv_server_contact.string, MAXSERVERCONTACT);
|
||||
CopyCaretColors(connectedservername, cv_servername.string, MAXSERVERNAME);
|
||||
CopyCaretColors(connectedservercontact, cv_server_contact.string, MAXSERVERCONTACT);
|
||||
|
||||
ServerInfoUpdateSend();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue