diff options
author | Mattes D <github@xoft.cz> | 2014-08-01 17:43:18 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-01 17:43:18 +0200 |
commit | d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8 (patch) | |
tree | 20fd08c3d16c6e21bfec17b3252b8cd48c923e59 /src/Entities/Player.h | |
parent | Merge pull request #1269 from Howaner/BlockEntitys (diff) | |
parent | Compile fix. (diff) | |
download | cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.tar cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.tar.gz cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.tar.bz2 cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.tar.lz cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.tar.xz cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.tar.zst cuberite-d2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 5 |
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); |