summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-07 11:02:20 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:19 +0200
commit615152eb8c6c88083f7b9eac57ec07147f34a6d6 (patch)
tree84b9ef883dfa0a814fbcfd0246613b9ce5f5674e /src/Entities/Player.cpp
parentPawn: Enabled entity effect broadcast, added typedef (diff)
downloadcuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.tar
cuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.tar.gz
cuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.tar.bz2
cuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.tar.lz
cuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.tar.xz
cuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.tar.zst
cuberite-615152eb8c6c88083f7b9eac57ec07147f34a6d6.zip
Diffstat (limited to '')
-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 d075957fe..67449f800 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, NULL));
+ AddEntityEffect(cEntityEffect::efHunger, cEntityEffect(a_NumTicks, 0, NULL));
}