1
0
Fork 0

Removed unused cPlayer::FoodPoison function

This commit is contained in:
archshift 2014-08-02 22:27:27 -07:00
parent 7915c4ca7c
commit 3ffec92e79
2 changed files with 0 additions and 12 deletions

View File

@ -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)
{
// Set the timer:

View File

@ -286,9 +286,6 @@ public:
/** Adds the specified exhaustion to m_FoodExhaustion. Expects only positive values. */
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 */
bool IsEating(void) const { return (m_EatingFinishTick >= 0); }