mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Use std::string::empty() instead of size() where applicable
This commit is contained in:
parent
83830e8682
commit
10e0cf8b2c
14 changed files with 27 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue