mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 21:47:24 +00:00
maybe fix it
This commit is contained in:
parent
813aca9d20
commit
06df15717c
@ -35,8 +35,8 @@ SimplePhysicsComponent::~SimplePhysicsComponent() {
|
|||||||
|
|
||||||
void SimplePhysicsComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) {
|
void SimplePhysicsComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) {
|
||||||
if (bIsInitialUpdate) {
|
if (bIsInitialUpdate) {
|
||||||
outBitStream->Write(m_ClimbableType > 0);
|
outBitStream->Write(m_ClimbableType != eClimbableType::CLIMBABLE_TYPE_NOT);
|
||||||
outBitStream->Write<int32_t>(m_ClimbableType);
|
outBitStream->Write(m_ClimbableType);
|
||||||
}
|
}
|
||||||
|
|
||||||
outBitStream->Write(m_DirtyVelocity || bIsInitialUpdate);
|
outBitStream->Write(m_DirtyVelocity || bIsInitialUpdate);
|
||||||
|
Loading…
Reference in New Issue
Block a user