summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-31 23:04:00 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-31 23:04:00 +0200
commit84462ba8b20c28136c6a7923323f7cde28a86d70 (patch)
treea568e3ef01c16deff469dd3612023263603cc2f9 /src/Entities/Player.h
parentMerge pull request #1267 from mc-server/RoofedForest (diff)
downloadcuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.tar
cuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.tar.gz
cuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.tar.bz2
cuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.tar.lz
cuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.tar.xz
cuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.tar.zst
cuberite-84462ba8b20c28136c6a7923323f7cde28a86d70.zip
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 65c1e33a8..f188789b8 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -284,10 +284,7 @@ public:
bool Feed(int a_Food, double a_Saturation);
/** Adds the specified exhaustion to m_FoodExhaustion. Expects only positive values. */
- void AddFoodExhaustion(double a_Exhaustion)
- {
- m_FoodExhaustionLevel += a_Exhaustion;
- }
+ void AddFoodExhaustion(double a_Exhaustion);
/** Starts the food poisoning for the specified amount of ticks */
void FoodPoison(int a_NumTicks);