aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-04-28 20:53:15 +0200
committersfan5 <sfan5@live.de>2022-04-30 16:49:41 +0200
commita89afe1229e327da3c397a3912b2d43d2196ea2b (patch)
tree037748c56e51da62b884d7b83dec9ccf5958e06c /src/client/content_cao.cpp
parentfaecff570c48350c599bcf043a7004a52ddf1b39 (diff)
downloadminetest-a89afe1229e327da3c397a3912b2d43d2196ea2b.tar.gz
minetest-a89afe1229e327da3c397a3912b2d43d2196ea2b.tar.bz2
minetest-a89afe1229e327da3c397a3912b2d43d2196ea2b.zip
Deal with compiler warnings
Diffstat (limited to 'src/client/content_cao.cpp')
-rw-r--r--src/client/content_cao.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp
index 3c31d4a36..d89bb53b3 100644
--- a/src/client/content_cao.cpp
+++ b/src/client/content_cao.cpp
@@ -435,7 +435,7 @@ const v3f GenericCAO::getPosition() const
return m_position;
}
-const bool GenericCAO::isImmortal()
+bool GenericCAO::isImmortal() const
{
return itemgroup_get(getGroups(), "immortal");
}