Consistent HP and damage types (#8167)
Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter.
This commit is contained in:
@@ -140,9 +140,9 @@ class ServerActiveObject : public ActiveObject
|
||||
{ return 0; }
|
||||
virtual void rightClick(ServerActiveObject *clicker)
|
||||
{}
|
||||
virtual void setHP(s16 hp, const PlayerHPChangeReason &reason)
|
||||
virtual void setHP(s32 hp, const PlayerHPChangeReason &reason)
|
||||
{}
|
||||
virtual s16 getHP() const
|
||||
virtual u16 getHP() const
|
||||
{ return 0; }
|
||||
|
||||
virtual void setArmorGroups(const ItemGroupList &armor_groups)
|
||||
|
||||
Reference in New Issue
Block a user