diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:50:59 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:50:59 +0100 |
commit | 8eed6ae1794989eb15fe95d867c44c196080c4dd (patch) | |
tree | 2e995dcc6e9c1eb830fe634fe695b0778c4d7957 /src/control/Script5.cpp | |
parent | Merge pull request #909 from Fire-Head/master (diff) | |
download | re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.gz re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.bz2 re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.lz re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.xz re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.zst re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index 7521fede..751fefa2 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -2556,7 +2556,7 @@ void CTheScripts::UpdateObjectIndices() CBaseModelInfo* pModel = CModelInfo::GetModelInfo(j); if (!pModel) continue; - strcpy(name, pModel->GetName()); + strcpy(name, pModel->GetModelName()); #ifdef FIX_BUGS for (int k = 0; k < USED_OBJECT_NAME_LENGTH && name[k]; k++) #else |