Increased Maximum speed to 78 blocks per second

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1424 0a769ca7-a7f5-676a-18bf-c427514a06d6
master
keyboard.osh@gmail.com 2013-04-28 04:15:45 +00:00
parent b934d030d3
commit 4767a90b67
1 changed files with 6 additions and 6 deletions

View File

@ -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;
}