aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2021-04-05 13:38:50 +0200
committerGitHub <noreply@github.com>2021-04-05 13:38:50 +0200
commitc11208c4b55bc6b17e523761befed6156027edf9 (patch)
tree6ab740af2e455ae16239d7e429c7d5b9e26f8177 /src/client/content_cao.h
parentf0bad0e2badbb7d4777aac7de1b50239bca4010a (diff)
downloadminetest-c11208c4b55bc6b17e523761befed6156027edf9.tar.gz
minetest-c11208c4b55bc6b17e523761befed6156027edf9.tar.bz2
minetest-c11208c4b55bc6b17e523761befed6156027edf9.zip
Game: Scale damage flash to max HP
The flash intensity is calculated proportionally to the maximal HP.
Diffstat (limited to 'src/client/content_cao.h')
-rw-r--r--src/client/content_cao.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h
index 7c134fb48..cc026d34e 100644
--- a/src/client/content_cao.h
+++ b/src/client/content_cao.h
@@ -174,6 +174,8 @@ public:
const bool isImmortal();
+ inline const ObjectProperties &getProperties() const { return m_prop; }
+
scene::ISceneNode *getSceneNode() const;
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const;