Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bigbossbro08
2020-05-10 22:05:45 +06:00
8 changed files with 34 additions and 23 deletions

View File

@ -783,7 +783,7 @@ CFileLoader::LoadVehicleObject(const char *line)
mi->SetTexDictionary(txd);
for(p = gamename; *p; p++)
if(*p == '_') *p = ' ';
strncpy(mi->m_gameName, gamename, 32);
strcpy(mi->m_gameName, gamename);
mi->m_level = level;
mi->m_compRules = comprules;