diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 81443c824..641093751 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -908,8 +908,7 @@ void GenericCAO::step(float dtime, ClientEnvironment *env) updateTextures(m_previous_texture_modifier); } } - if(!getParent() && fabs(m_prop.automatic_rotate) > 0.001) - { + if (!getParent() && std::fabs(m_prop.automatic_rotate) > 0.001) { m_yaw += dtime * m_prop.automatic_rotate * 180 / M_PI; updateNodePos(); } |