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); animal.setCustomName(customName);
sendPetCustomNameToClient(petIndex); sendPetCustomNameToClient(petIndex);
if (!customName.empty()) TDataSetRow row = animal.SpawnedPets;
{ NLNET::CMessage msgout("CHARACTER_NAME");
TDataSetRow row = animal.SpawnedPets; msgout.serial(row);
NLNET::CMessage msgout("CHARACTER_NAME"); msgout.serial(customName);
msgout.serial(row); sendMessageViaMirror("IOS", msgout);
msgout.serial(customName);
sendMessageViaMirror("IOS", msgout);
}
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

Loading…
Cancel
Save