proper str_copy size (fixes #461)

This commit is contained in:
def 2016-05-04 18:43:54 +02:00
parent 1b668047c8
commit 2df9c79483

View file

@ -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()