ryzomclassic-develop
kaetemi 3 years ago
parent 678d888b5c
commit 2889e81d63
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -2981,7 +2981,7 @@ void CCharacter::postLoadTreatment()
if ( animal.Satiety == SatietyNotInit ) if ( animal.Satiety == SatietyNotInit )
{ {
const CStaticItem* ticketPetForm = CSheets::getForm( animal.TicketPetSheetId ); const CStaticItem* ticketPetForm = CSheets::getForm( animal.TicketPetSheetId );
animal.MaxSatiety = ticketPetForm ? ticketPetForm->PetHungerCount : 0;\ animal.MaxSatiety = ticketPetForm ? ticketPetForm->PetHungerCount : 0;
animal.Satiety = animal.MaxSatiety; animal.Satiety = animal.MaxSatiety;
} }
} }

Loading…
Cancel
Save