summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-06 19:28:40 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-06 19:28:40 +0100
commit406f64694990ca84622205538a72e080499b4464 (patch)
treee54e7a35d7ed03b49e52430286c317ae0e88983f /src/render/Fluff.cpp
parentquick fix (diff)
downloadre3-406f64694990ca84622205538a72e080499b4464.tar
re3-406f64694990ca84622205538a72e080499b4464.tar.gz
re3-406f64694990ca84622205538a72e080499b4464.tar.bz2
re3-406f64694990ca84622205538a72e080499b4464.tar.lz
re3-406f64694990ca84622205538a72e080499b4464.tar.xz
re3-406f64694990ca84622205538a72e080499b4464.tar.zst
re3-406f64694990ca84622205538a72e080499b4464.zip
Diffstat (limited to '')
-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++) {