add missing null terminator for player name on server info screen
This commit is contained in:
1 parent
3fe4399656
commit
c44b3f3f9b
1 file changed
+1
@@ -1449,6 +1449,7 @@ static void CL_DrawConnectionStatus(void)
|
||||
if (playerinfo[i].node < 255)
|
||||
{
|
||||
strncpy(player_name, playerinfo[i].name, MAXPLAYERNAME);
|
||||
player_name[MAXPLAYERNAME] = '\0';
|
||||
|
||||
// if we get a skin color
|
||||
// try to colourize the player name
|
||||
|
||||
Reference in new issue
Block a user