summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-01 17:43:18 +0200
committerMattes D <github@xoft.cz>2014-08-01 17:43:18 +0200
commitd2744713bb69ca7c6211fe9b7bdf6fcadd2cadc8 (patch)
tree20fd08c3d16c6e21bfec17b3252b8cd48c923e59 /src/Entities/Player.h
parentMerge pull request #1269 from Howaner/BlockEntitys (diff)
parentCompile fix. (diff)
downloadcuberite-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 '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);