summaryrefslogtreecommitdiffstats
path: root/src/renderer
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-11 07:42:26 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-11 07:42:26 +0200
commit463fdab6a48502b0610f944b9de0853edef3615e (patch)
tree9abd57333f1d3c526f9b4801a7c792b39096d10e /src/renderer
parentFix a bunch of CModelInfo::GetModelInfo->GetColModel calls (diff)
downloadre3-463fdab6a48502b0610f944b9de0853edef3615e.tar
re3-463fdab6a48502b0610f944b9de0853edef3615e.tar.gz
re3-463fdab6a48502b0610f944b9de0853edef3615e.tar.bz2
re3-463fdab6a48502b0610f944b9de0853edef3615e.tar.lz
re3-463fdab6a48502b0610f944b9de0853edef3615e.tar.xz
re3-463fdab6a48502b0610f944b9de0853edef3615e.tar.zst
re3-463fdab6a48502b0610f944b9de0853edef3615e.zip
Diffstat (limited to '')
-rw-r--r--src/renderer/Fluff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/Fluff.cpp b/src/renderer/Fluff.cpp
index 1e4d289b..59d3668d 100644
--- a/src/renderer/Fluff.cpp
+++ b/src/renderer/Fluff.cpp
@@ -928,7 +928,7 @@ CEscalator::AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, b
m_pos2 = pos2;
m_pos3 = pos3;
- float escalatorStepHeight = CModelInfo::GetModelInfo(MI_ESCALATORSTEP)->GetColModel()->boundingBox.max.z;
+ float escalatorStepHeight = CModelInfo::GetColModel(MI_ESCALATORSTEP)->boundingBox.max.z;
m_pos0.z -= escalatorStepHeight;
m_pos1.z -= escalatorStepHeight;
m_pos2.z -= escalatorStepHeight;