1
0

Fixed bug with Rotation not getting properly wrapped after being set.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1351 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
keyboard.osh@gmail.com 2013-04-03 05:11:00 +00:00
parent 8f047b0704
commit dd632789db

View File

@ -422,6 +422,7 @@ void cEntity::SetRotation(double a_Rotation)
{
m_Rot.x = a_Rotation;
m_bDirtyOrientation = true;
WrapRotation();
}
@ -432,6 +433,7 @@ void cEntity::SetPitch(double a_Pitch)
{
m_Rot.y = a_Pitch;
m_bDirtyOrientation = true;
WrapRotation();
}