diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index a8b4ae2e1..affa092e7 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -360,6 +360,11 @@ v3f GenericCAO::getPosition() return pos_translator.vect_show; } +const bool GenericCAO::isImmortal() +{ + return itemgroup_get(getGroups(), "immortal"); +} + scene::ISceneNode* GenericCAO::getSceneNode() { if (m_meshnode) { |