From eaec3645b08e517e709b15089ad09d4978d69297 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 26 Nov 2020 18:44:29 +0100 Subject: Added ClientObjectRef:get_hp() --- src/client/content_cao.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client') 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(); -- cgit v1.2.3