Removed unused cPlayer::FoodPoison function
This commit is contained in:
parent
7915c4ca7c
commit
3ffec92e79
@ -580,15 +580,6 @@ void cPlayer::AddFoodExhaustion(double a_Exhaustion)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void cPlayer::FoodPoison(int a_NumTicks)
|
|
||||||
{
|
|
||||||
AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void cPlayer::StartEating(void)
|
void cPlayer::StartEating(void)
|
||||||
{
|
{
|
||||||
// Set the timer:
|
// Set the timer:
|
||||||
|
@ -286,9 +286,6 @@ public:
|
|||||||
/** Adds the specified exhaustion to m_FoodExhaustion. Expects only positive values. */
|
/** Adds the specified exhaustion to m_FoodExhaustion. Expects only positive values. */
|
||||||
void AddFoodExhaustion(double a_Exhaustion);
|
void AddFoodExhaustion(double a_Exhaustion);
|
||||||
|
|
||||||
/** Starts the food poisoning for the specified amount of ticks */
|
|
||||||
void FoodPoison(int a_NumTicks);
|
|
||||||
|
|
||||||
/** Returns true if the player is currently in the process of eating the currently equipped item */
|
/** Returns true if the player is currently in the process of eating the currently equipped item */
|
||||||
bool IsEating(void) const { return (m_EatingFinishTick >= 0); }
|
bool IsEating(void) const { return (m_EatingFinishTick >= 0); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user