make LoadFromXml usage consistent across comps (#673)

This commit is contained in:
Aaron Kimbrell
2022-07-24 21:03:22 -05:00
committed by GitHub
parent 9ed4a4f47f
commit a7fb6eb3f3
10 changed files with 14 additions and 21 deletions

View File

@@ -130,7 +130,7 @@ void ControllablePhysicsComponent::Serialize(RakNet::BitStream* outBitStream, bo
if (!bIsInitialUpdate) outBitStream->Write0();
}
void ControllablePhysicsComponent::LoadFromXML(tinyxml2::XMLDocument* doc) {
void ControllablePhysicsComponent::LoadFromXml(tinyxml2::XMLDocument* doc) {
tinyxml2::XMLElement* character = doc->FirstChildElement("obj")->FirstChildElement("char");
if (!character) {
Game::logger->Log("ControllablePhysicsComponent", "Failed to find char tag!\n");