diff options
author | madmaxoft <github@xoft.cz> | 2014-06-13 11:04:16 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:21 +0200 |
commit | e289fe4dd7372a029ba85722e3ce99991e9d1d6b (patch) | |
tree | 1bc8ad0d0aa8a7e8685a53bddb0730c4a82122a4 /src/Entities/Player.cpp | |
parent | Entity Effect: Separates total duration and ticks of activity (diff) | |
download | cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.tar cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.tar.gz cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.tar.bz2 cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.tar.lz cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.tar.xz cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.tar.zst cuberite-e289fe4dd7372a029ba85722e3ce99991e9d1d6b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 5d8c3479b..f2ec81957 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::effHunger, cEntityEffect(a_NumTicks, 0, NULL)); + AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0); } |