diff options
author | madmaxoft <github@xoft.cz> | 2013-11-02 17:45:48 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-03 11:59:05 +0100 |
commit | 9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8 (patch) | |
tree | ef3bb04c80bddcce885f314416a59bbb232a511c /source/Entities/Entity.cpp | |
parent | Added cPlayer::GetEffectiveGameMode(). (diff) | |
download | cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.tar cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.tar.gz cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.tar.bz2 cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.tar.lz cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.tar.xz cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.tar.zst cuberite-9bdc94053e94c7ca47e2e0dc0db4483a8c0ddfb8.zip |
Diffstat (limited to 'source/Entities/Entity.cpp')
-rw-r--r-- | source/Entities/Entity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Entities/Entity.cpp b/source/Entities/Entity.cpp index d465c75bd..3bea7bc01 100644 --- a/source/Entities/Entity.cpp +++ b/source/Entities/Entity.cpp @@ -1178,9 +1178,9 @@ void cEntity::SetMass(double a_Mass) -void cEntity::SetRotation(double a_Rotation) +void cEntity::SetYaw(double a_Yaw) { - m_Rot.x = a_Rotation; + m_Rot.x = a_Yaw; m_bDirtyOrientation = true; WrapRotation(); } |