1
0

Fixed NULL being passed instead of a double to AddEntityEffect

This commit is contained in:
archshift 2014-07-17 14:34:58 -07:00
parent b2716c720e
commit bc94ad4b5a

View File

@ -580,7 +580,7 @@ bool cPlayer::Feed(int a_Food, double a_Saturation)
void cPlayer::FoodPoison(int a_NumTicks)
{
AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, NULL);
AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, 1);
}