From ffb17f1c9a203fea6de70159b461f52d104e05b9 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 11 Feb 2019 00:03:26 +0100 Subject: 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. --- src/genericobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/genericobject.h') diff --git a/src/genericobject.h b/src/genericobject.h index a182c65f3..c83b310d1 100644 --- a/src/genericobject.h +++ b/src/genericobject.h @@ -63,7 +63,7 @@ std::string gob_cmd_set_sprite( bool select_horiz_by_yawpitch ); -std::string gob_cmd_punched(s16 damage, s16 result_hp); +std::string gob_cmd_punched(u16 result_hp); std::string gob_cmd_update_armor_groups(const ItemGroupList &armor_groups); -- cgit v1.2.3