Skip to content

Commit 1734eae

Browse files
committed
cosmetic fix
1 parent 36404b9 commit 1734eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codemp/game/g_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ void G_ValidateCosmetics(gclient_t *client, char *cosmeticString, size_t cosmeti
22242224
}
22252225
}
22262226

2227-
Q_strncpyz(cosmeticString, va("%i", cosmetics), sizeof(cosmeticString));
2227+
Q_strncpyz(cosmeticString, va("%i", cosmetics), cosmeticStringSize);
22282228
}
22292229

22302230
qboolean ClientUserinfoChanged( int clientNum ) { //I think anything treated as an INT can just be max_qpath instead of max_info_string and help performance a bit..?

0 commit comments

Comments
 (0)