summaryrefslogtreecommitdiffstats
path: root/src/control/Script5.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-08 23:43:56 +0100
committeraap <aap@papnet.eu>2021-01-08 23:43:56 +0100
commit14a5144de7c70831b2e3d0fc07c6a89c49caaa06 (patch)
treeee8bc32e8efde413f6d6fbde58340e6454e4ff3f /src/control/Script5.cpp
parentanims done. ped fight hacked to compile (diff)
parentAdd Relocatable Chunk stubs (diff)
downloadre3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.gz
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.bz2
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.lz
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.xz
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.zst
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.zip
Diffstat (limited to 'src/control/Script5.cpp')
-rw-r--r--src/control/Script5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp
index 822a70a8..f970cf89 100644
--- a/src/control/Script5.cpp
+++ b/src/control/Script5.cpp
@@ -2759,7 +2759,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