Increased Maximum speed to 78 blocks per second
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1424 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
b934d030d3
commit
4767a90b67
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue