summaryrefslogtreecommitdiffstats
path: root/source/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Player.cpp')
-rw-r--r--source/Player.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index 5609807b0..d5cfe8bcf 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -505,6 +505,10 @@ void cPlayer::KilledBy(cEntity * a_Killer)
void cPlayer::Respawn(void)
{
m_Health = GetMaxHealth();
+
+ // Reset food level:
+ m_FoodLevel = 20;
+ m_FoodSaturationLevel = 5;
m_ClientHandle->SendRespawn();