summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-07 08:05:29 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:19 +0200
commita9a4c9c6b25438aaebdeef03c323e9aa4a0348c2 (patch)
treeac30c249763e1b1c62dbfda585c62ecb56212adb /src/Entities/Player.cpp
parentPlayer: Removed food-poisoning-specific code, set duration to 30 seconds (diff)
downloadcuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar
cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.gz
cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.bz2
cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.lz
cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.xz
cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.zst
cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 3a1ebf3f9..d075957fe 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -570,7 +570,7 @@ bool cPlayer::Feed(int a_Food, double a_Saturation)
void cPlayer::FoodPoison(int a_NumTicks)
{
- AddEntityEffect(cEntityEffect::efHunger, cEntityEffect(0, a_NumTicks));
+ AddEntityEffect(cEntityEffect::efHunger, cEntityEffect(0, a_NumTicks, NULL));
}