mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
proper str_copy size (fixes #461)
This commit is contained in:
parent
1b668047c8
commit
2df9c79483
|
@ -422,7 +422,7 @@ void IGameController::ChangeMap(const char *pToMap)
|
|||
{
|
||||
/*str_copy(m_aMapWish, pToMap, sizeof(m_aMapWish));
|
||||
EndRound();*/
|
||||
str_copy(g_Config.m_SvMap, pToMap, sizeof(m_aMapWish));
|
||||
str_copy(g_Config.m_SvMap, pToMap, sizeof(g_Config.m_SvMap));
|
||||
}
|
||||
|
||||
/*void IGameController::CycleMap()
|
||||
|
|
Loading…
Reference in a new issue