|
|
@ -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);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|