Fix saving the config into the map

This commit is contained in:
heinrich5991 2015-07-15 11:38:42 +02:00
parent c025dc2235
commit 6a17d2700d

View file

@ -2568,6 +2568,7 @@ void CGameContext::OnMapChange(char *pNewMapName, int MapNameSize)
{
int Length = str_length(aLines[i]) + 1;
mem_copy(pSettings + Offset, aLines[i], Length);
Offset += Length;
mem_free(aLines[i]);
}