Added checkHunger().