Futile attempts to fix memory corruption bug

This commit is contained in:
2015-10-01 16:12:53 +02:00
parent ff27eafccf
commit c821fbfc25
4 changed files with 10 additions and 23 deletions
+6 -3
View File
@@ -69,9 +69,12 @@ public:
private:
EntityID m_Entity = 0;
glm::vec3 m_Acceleration = glm::vec3(0.f, 0.f, 0.f);
bool m_Left = false, m_Right = false, m_ReplaceBall = false, m_MultiBall = false;
Components::Transform* m_Transform;
Components::Pad* m_Pad;
bool m_Left = false;
bool m_Right = false;
bool m_ReplaceBall = false;
bool m_MultiBall = false;
Components::Transform* m_Transform = nullptr;
Components::Pad* m_Pad = nullptr;
dd::EventRelay<PadSystem, dd::Events::KeyDown> m_EKeyDown;
dd::EventRelay<PadSystem, dd::Events::KeyUp> m_EKeyUp;