diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/Entity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Entity.cpp b/source/Entity.cpp index aad4003cd..0cb97e1ef 100644 --- a/source/Entity.cpp +++ b/source/Entity.cpp @@ -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(); } |