Likely fixed too quick food depletion
* Fixes FS427 properly, hopefully
This commit is contained in:
parent
5e66d9aeab
commit
35dc056f03
@ -1913,7 +1913,7 @@ void cPlayer::HandleFood(void)
|
|||||||
{
|
{
|
||||||
m_FoodTickTimer = 0;
|
m_FoodTickTimer = 0;
|
||||||
|
|
||||||
if (m_FoodLevel >= 17)
|
if ((m_FoodLevel > 17) && (GetHealth() < GetMaxHealth()))
|
||||||
{
|
{
|
||||||
// Regenerate health from food, incur 3 pts of food exhaustion:
|
// Regenerate health from food, incur 3 pts of food exhaustion:
|
||||||
Heal(1);
|
Heal(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user