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:
parent
ee6d8c10ce
commit
ee9b59a7fe
@ -604,7 +604,7 @@ bool GenericCAO::getCollisionBox(aabb3f *toset) const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GenericCAO::collideWithObjects()
|
||||
bool GenericCAO::collideWithObjects() const
|
||||
{
|
||||
return m_prop.collideWithObjects;
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ public:
|
||||
|
||||
bool getCollisionBox(aabb3f *toset) const;
|
||||
|
||||
bool collideWithObjects();
|
||||
bool collideWithObjects() const;
|
||||
|
||||
aabb3f *getSelectionBox();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user