some fixes and cosmetic changes

This commit is contained in:
aap committed 2020-05-10 17:09:57 +02:00
1 parent d9a3533438
commit 5b605c1271
8 files changed
+34 -23

No files matched your search

+1 -1
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;