Player: made healing instantaneous
This commit is contained in:
parent
2185c72c2c
commit
8eceaf9b0c
@ -315,7 +315,7 @@ public:
|
||||
virtual void Killed(cEntity * a_Victim) {}
|
||||
|
||||
/// Heals the specified amount of HPs
|
||||
void Heal(int a_HitPoints);
|
||||
virtual void Heal(int a_HitPoints);
|
||||
|
||||
/// Returns the health of this entity
|
||||
int GetHealth(void) const { return m_Health; }
|
||||
|
@ -261,7 +261,7 @@ public:
|
||||
void TossPickup(const cItem & a_Item);
|
||||
|
||||
/** Heals the player by the specified amount of HPs (positive only); sends health update */
|
||||
void Heal(int a_Health);
|
||||
virtual void Heal(int a_Health) override;
|
||||
|
||||
int GetFoodLevel (void) const { return m_FoodLevel; }
|
||||
double GetFoodSaturationLevel (void) const { return m_FoodSaturationLevel; }
|
||||
|
Loading…
Reference in New Issue
Block a user