diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 8471b7e81..671ddd4b1 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -1468,7 +1468,7 @@ void GenericCAO::updateAnimation() void GenericCAO::updateBonePosition() { - if(!m_bone_position.size() || m_animated_meshnode == NULL) + if(m_bone_position.empty() || m_animated_meshnode == NULL) return; m_animated_meshnode->setJointMode(irr::scene::EJUOR_CONTROL); // To write positions to the mesh on render |