mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 07:27:18 +00:00
dirty bit
This commit is contained in:
parent
e73793c1a3
commit
7030d937b1
@ -81,7 +81,7 @@ void PetComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpd
|
|||||||
{
|
{
|
||||||
const bool tamed = m_Owner != LWOOBJID_EMPTY;
|
const bool tamed = m_Owner != LWOOBJID_EMPTY;
|
||||||
|
|
||||||
outBitStream->Write1(); // Dirty?
|
outBitStream->Write1(); // Always serialize as dirty for now
|
||||||
|
|
||||||
outBitStream->Write<uint32_t>(static_cast<unsigned int>(m_Status));
|
outBitStream->Write<uint32_t>(static_cast<unsigned int>(m_Status));
|
||||||
outBitStream->Write<uint32_t>(static_cast<uint32_t>(tamed ? m_Ability : PetAbilityType::Invalid)); // Something with the overhead icon?
|
outBitStream->Write<uint32_t>(static_cast<uint32_t>(tamed ? m_Ability : PetAbilityType::Invalid)); // Something with the overhead icon?
|
||||||
|
Loading…
Reference in New Issue
Block a user