diff -r 872e825623dc code/ryzom/server/src/entities_game_service/player_manager/character.cpp --- a/code/ryzom/server/src/entities_game_service/player_manager/character.cpp Fri Jun 04 14:10:13 2010 +0200 +++ b/code/ryzom/server/src/entities_game_service/player_manager/character.cpp Fri Jun 04 23:54:27 2010 +0300 @@ -5660,7 +5660,7 @@ { // Consume to full satiety (last useful unit is entirely consumed) animal.Satiety = animal.MaxSatiety; - nbUnits = (sint)((caloriesNeeded / caloriesPerUnit) + 1); + nbUnits = (sint)ceil(caloriesNeeded / caloriesPerUnit); } nbItemsLeftToConsume -= nbUnits;