summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/Entity.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/Entity.cpp b/source/Entity.cpp
index 61d0da026..54fe70bef 100644
--- a/source/Entity.cpp
+++ b/source/Entity.cpp
@@ -159,12 +159,12 @@ void cEntity::WrapSpeed(void)
{
// There shoudn't be a need for flipping the flag on because this function is called
// after any update, so the flag is already turned on
- if (m_Speed.x > 20.0f) m_Speed.x = 20.0f;
- else if (m_Speed.x < -20.0f) m_Speed.x = -20.0f;
- if (m_Speed.y > 20.0f) m_Speed.y = 20.0f;
- else if (m_Speed.y < -20.0f) m_Speed.y = -20.0f;
- if (m_Speed.z > 20.0f) m_Speed.z = 20.0f;
- else if (m_Speed.z < -20.0f) m_Speed.z = -20.0f;
+ if (m_Speed.x > 78.0f) m_Speed.x = 78.0f;
+ else if (m_Speed.x < -78.0f) m_Speed.x = -78.0f;
+ if (m_Speed.y > 78.0f) m_Speed.y = 78.0f;
+ else if (m_Speed.y < -78.0f) m_Speed.y = -78.0f;
+ if (m_Speed.z > 78.0f) m_Speed.z = 78.0f;
+ else if (m_Speed.z < -78.0f) m_Speed.z = -78.0f;
}