summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-09 09:55:50 +0100
committerGitHub <noreply@github.com>2020-12-09 09:55:50 +0100
commitccbbde549e81a7d0e71228ad5c244da6c8bd287f (patch)
treeb05d46740914289c3e713579716ef7cfa0068244 /src/render
parentVehicle cam object collision fix (diff)
parentsync with upstream (diff)
downloadre3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.tar
re3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.tar.gz
re3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.tar.bz2
re3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.tar.lz
re3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.tar.xz
re3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.tar.zst
re3-ccbbde549e81a7d0e71228ad5c244da6c8bd287f.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Fluff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp
index 3c0d3708..e220ce5a 100644
--- a/src/render/Fluff.cpp
+++ b/src/render/Fluff.cpp
@@ -1291,7 +1291,7 @@ INITSAVEBUF
for (int32 j = 0; j < 6; j++) {
if (pPath->m_pObjects[j] != nil)
- pPath->m_pObjects[j] = (CObject*)(CPools::GetObjectPool()->GetJustIndex(pPath->m_pObjects[j]) + 1);
+ pPath->m_pObjects[j] = (CObject*)(CPools::GetObjectPool()->GetJustIndex_NoFreeAssert(pPath->m_pObjects[j]) + 1);
}
for (int32 j = 0; j < aArray[i].m_numNodes; j++) {