1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-15 13:55:11 -05:00

Fix another missing const reported by clang & @sfan5

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
This commit is contained in:
Loic Blot 2017-01-14 12:20:59 +01:00
parent ee6d8c10ce
commit ee9b59a7fe
2 changed files with 2 additions and 2 deletions

View File

@ -604,7 +604,7 @@ bool GenericCAO::getCollisionBox(aabb3f *toset) const
return false;
}
bool GenericCAO::collideWithObjects()
bool GenericCAO::collideWithObjects() const
{
return m_prop.collideWithObjects;
}

View File

@ -132,7 +132,7 @@ public:
bool getCollisionBox(aabb3f *toset) const;
bool collideWithObjects();
bool collideWithObjects() const;
aabb3f *getSelectionBox();