diff options
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index de4ac2d39..6b97cb148 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -193,6 +193,7 @@ public: void rightClick(ServerActiveObject *clicker); s16 getHP() const; void setHP(s16 hp); + s16 readDamage(); u16 getBreath() const; void setBreath(u16 breath); void setArmorGroups(const ItemGroupList &armor_groups); @@ -283,6 +284,7 @@ private: Player *m_player; u16 m_peer_id; Inventory *m_inventory; + s16 m_damage; // Cheat prevention LagPool m_dig_pool; |