Fixed NULL being passed instead of a double to AddEntityEffect
This commit is contained in:
parent
b2716c720e
commit
bc94ad4b5a
|
@ -580,7 +580,7 @@ bool cPlayer::Feed(int a_Food, double a_Saturation)
|
||||||
|
|
||||||
void cPlayer::FoodPoison(int a_NumTicks)
|
void cPlayer::FoodPoison(int a_NumTicks)
|
||||||
{
|
{
|
||||||
AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, NULL);
|
AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user