summaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-01-14 12:20:59 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2017-01-14 12:20:59 +0100
commitee9b59a7fe9a3277ffdd26d29e66ef7a285df5ce (patch)
treed00cd4e687ba8bb0edc048edf535b841d3f6463a /src/content_cao.cpp
parentee6d8c10ce3f7570a47c6042c36da3c8566364a7 (diff)
downloadminetest-ee9b59a7fe9a3277ffdd26d29e66ef7a285df5ce.tar.gz
minetest-ee9b59a7fe9a3277ffdd26d29e66ef7a285df5ce.tar.bz2
minetest-ee9b59a7fe9a3277ffdd26d29e66ef7a285df5ce.zip
Fix another missing const reported by clang & @sfan5
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r--src/content_cao.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp
index 5ddbd27c9..83756c963 100644
--- a/src/content_cao.cpp
+++ b/src/content_cao.cpp
@@ -604,7 +604,7 @@ bool GenericCAO::getCollisionBox(aabb3f *toset) const
return false;
}
-bool GenericCAO::collideWithObjects()
+bool GenericCAO::collideWithObjects() const
{
return m_prop.collideWithObjects;
}