diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-26 18:44:29 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-26 18:44:29 +0100 |
commit | eaec3645b08e517e709b15089ad09d4978d69297 (patch) | |
tree | 9db743ddca4255acdf75a6b3c32fcfca5fad5b3b /src/client | |
parent | fb4d54ee30ee9b8394bac18418b88adb0f9cd953 (diff) | |
download | dragonfireclient-eaec3645b08e517e709b15089ad09d4978d69297.tar.xz |
Added ClientObjectRef:get_hp()
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/content_cao.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 56ba8e0ec..75882a074 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -178,6 +178,11 @@ public: { return m_velocity; } + + inline const u16 getHp() const + { + return m_hp; + } const bool isImmortal(); |