1
0

Likely fixed too quick food depletion

* Fixes FS427 properly, hopefully
This commit is contained in:
Tiger Wang 2014-06-28 21:10:59 +01:00
parent 5e66d9aeab
commit 35dc056f03

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);