summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 23:02:17 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 23:02:17 +0100
commit91c6389754204c7cc419cecb4b73d576106890c3 (patch)
tree99ee9b860a2739d0ffee7b5d88d8d50c0de4283d /src/core/Pools.cpp
parentsync with re3 (diff)
parentUse original names (diff)
downloadre3-91c6389754204c7cc419cecb4b73d576106890c3.tar
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.gz
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.bz2
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.lz
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.xz
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.zst
re3-91c6389754204c7cc419cecb4b73d576106890c3.zip
Diffstat (limited to 'src/core/Pools.cpp')
-rw-r--r--src/core/Pools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pools.cpp b/src/core/Pools.cpp
index dfc7a82f..ee60f316 100644
--- a/src/core/Pools.cpp
+++ b/src/core/Pools.cpp
@@ -536,7 +536,7 @@ INITSAVEBUF
#endif
CopyToBuf(buf, CWanted::MaximumWantedLevel);
CopyToBuf(buf, CWanted::nMaximumWantedLevel);
- memcpy(buf, CModelInfo::GetModelInfo(pPed->GetModelIndex())->GetName(), MAX_MODEL_NAME);
+ memcpy(buf, CModelInfo::GetModelInfo(pPed->GetModelIndex())->GetModelName(), MAX_MODEL_NAME);
SkipSaveBuf(buf, MAX_MODEL_NAME);
}
}