summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-10 17:09:57 +0200
committeraap <aap@papnet.eu>2020-05-10 17:09:57 +0200
commit5b605c127144ab805581f62015ef3742c1d4a64e (patch)
treef86a422d080f58afcaa5eac7cf2b378bdf306142 /src/core
parentSmall unification (diff)
downloadre3-5b605c127144ab805581f62015ef3742c1d4a64e.tar
re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.gz
re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.bz2
re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.lz
re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.xz
re3-5b605c127144ab805581f62015ef3742c1d4a64e.tar.zst
re3-5b605c127144ab805581f62015ef3742c1d4a64e.zip
Diffstat (limited to '')
-rw-r--r--src/core/FileLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index adf4b9f8..88afb40c 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -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;