diff --git a/dGame/dComponents/PetComponent.cpp b/dGame/dComponents/PetComponent.cpp index a5d75de5..95f4c29a 100644 --- a/dGame/dComponents/PetComponent.cpp +++ b/dGame/dComponents/PetComponent.cpp @@ -106,7 +106,7 @@ PetComponent::PetComponent(Entity* parent, uint32_t componentId): Component(pare auto result = query.execQuery(); if (!result.eof()) { - m_walkSpeed = result.getFloatField(0, 2.5f); + m_WalkSpeed = result.getFloatField(0, 2.5f); m_RunSpeed = result.getFloatField(1, 5.0f); m_SprintSpeed = result.getFloatField(2, 10.0f); imaginationDrainRate = result.getFloatField(3, 60.0f); diff --git a/dGame/dComponents/PetComponent.h b/dGame/dComponents/PetComponent.h index 687da810..1adc527d 100644 --- a/dGame/dComponents/PetComponent.h +++ b/dGame/dComponents/PetComponent.h @@ -505,7 +505,7 @@ private: /** * The walk speed of the pet */ - float m_walkSpeed; + float m_WalkSpeed; /** * The run speed of the pet