summaryrefslogtreecommitdiffstats
path: root/src/renderer/Fluff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/Fluff.cpp')
-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 404f1a4a..b914d1bc 100644
--- a/src/renderer/Fluff.cpp
+++ b/src/renderer/Fluff.cpp
@@ -929,7 +929,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;