Likely fixed too quick food depletion

* Fixes FS427 properly, hopefully
master
Tiger Wang 2014-06-28 21:10:59 +01:00
parent 5e66d9aeab
commit 35dc056f03
1 changed files with 1 additions and 1 deletions

View File

@ -1913,7 +1913,7 @@ void cPlayer::HandleFood(void)
{
m_FoodTickTimer = 0;
if (m_FoodLevel >= 17)
if ((m_FoodLevel > 17) && (GetHealth() < GetMaxHealth()))
{
// Regenerate health from food, incur 3 pts of food exhaustion:
Heal(1);