summaryrefslogtreecommitdiffstats
path: root/src/objects/Stinger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/Stinger.cpp')
-rw-r--r--src/objects/Stinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/Stinger.cpp b/src/objects/Stinger.cpp
index 29efea10..d3eee416 100644
--- a/src/objects/Stinger.cpp
+++ b/src/objects/Stinger.cpp
@@ -220,7 +220,7 @@ CStinger::Process()
float degangle = progress * ARRAY_SIZE(m_vPositions);
float angle1 = m_fMax_Z + DEGTORAD(degangle);
float angle2 = m_fMax_Z - DEGTORAD(degangle);
- int pos = clamp(degangle, 0, ARRAY_SIZE(m_vPositions)-1);
+ int pos = Clamp(degangle, 0, ARRAY_SIZE(m_vPositions)-1);
CVector2D pos2d = m_vPositions[pos];
CVector pos3d = m_vPos;