summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.cpp
diff options
context:
space:
mode:
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 2d4fd185..b6a7e766 100644
--- a/src/render/Fluff.cpp
+++ b/src/render/Fluff.cpp
@@ -1156,7 +1156,7 @@ void CScriptPath::Update(void) {
return;
m_fPosition += m_fSpeed * CTimer::GetTimeStepInSeconds();
- m_fPosition = clamp(m_fPosition, 0.0f, m_fTotalLength);
+ m_fPosition = Clamp(m_fPosition, 0.0f, m_fTotalLength);
if (m_pObjects[0] || m_pObjects[1] || m_pObjects[2] || m_pObjects[3]
|| m_pObjects[4] || m_pObjects[5]) {