mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fix msvc complaining
This commit is contained in:
parent
fda6a6760c
commit
e3dc26a81b
|
@ -432,7 +432,7 @@ void CMenus::RandomSkin()
|
|||
}
|
||||
|
||||
const size_t SkinNameSize = !m_Dummy ? sizeof(g_Config.m_ClPlayerSkin) : sizeof(g_Config.m_ClDummySkin);
|
||||
char aRandomSkinName[SkinNameSize];
|
||||
char aRandomSkinName[24];
|
||||
str_copy(aRandomSkinName, "default", SkinNameSize);
|
||||
if(!m_pClient->m_Skins.GetSkinsUnsafe().empty())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue