Merge branch 'fixes'

feature/prepare-cross-merge
Nuno 4 years ago committed by kaetemi
parent 17d84c5925
commit 000fdfb5d7
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -7789,14 +7789,11 @@ void CCharacter::setAnimalName(uint8 petIndex, ucstring customName)
animal.setCustomName(customName);
sendPetCustomNameToClient(petIndex);
if (!customName.empty())
{
TDataSetRow row = animal.SpawnedPets;
NLNET::CMessage msgout("CHARACTER_NAME");
msgout.serial(row);
msgout.serial(customName);
sendMessageViaMirror("IOS", msgout);
}
}
//-----------------------------------------------------------------------------

Loading…
Cancel
Save