1
0

Implemented milk, added documentation to Pawn.h

This commit is contained in:
archshift
2014-06-07 13:45:00 -07:00
parent 615152eb8c
commit 1eb04a48ee
7 changed files with 86 additions and 5 deletions

View File

@@ -552,7 +552,7 @@ void cPlayer::SetFoodExhaustionLevel(double a_FoodExhaustionLevel)
bool cPlayer::Feed(int a_Food, double a_Saturation)
{
if (m_FoodLevel >= MAX_FOOD_LEVEL)
if (IsSatiated())
{
return false;
}