mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-30 16:32:36 +00:00
Merge branch 'main' into moreMovementAi
This commit is contained in:
@@ -76,7 +76,7 @@ void ControllablePhysicsComponent::Update(float deltaTime) {
|
||||
Game::entityManager->SerializeEntity(m_Parent);
|
||||
}
|
||||
|
||||
void ControllablePhysicsComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) {
|
||||
void ControllablePhysicsComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate) {
|
||||
if (bIsInitialUpdate) {
|
||||
outBitStream->Write(m_InJetpackMode);
|
||||
if (m_InJetpackMode) {
|
||||
@@ -179,12 +179,6 @@ void ControllablePhysicsComponent::LoadFromXml(tinyxml2::XMLDocument* doc) {
|
||||
m_DirtyPosition = true;
|
||||
}
|
||||
|
||||
void ControllablePhysicsComponent::ResetFlags() {
|
||||
m_DirtyAngularVelocity = false;
|
||||
m_DirtyPosition = false;
|
||||
m_DirtyVelocity = false;
|
||||
}
|
||||
|
||||
void ControllablePhysicsComponent::UpdateXml(tinyxml2::XMLDocument* doc) {
|
||||
tinyxml2::XMLElement* character = doc->FirstChildElement("obj")->FirstChildElement("char");
|
||||
if (!character) {
|
||||
|
||||
Reference in New Issue
Block a user