diff --git a/sources/System/Health/HealthSystem.cpp b/sources/System/Health/HealthSystem.cpp index d73f4ae2..e1a369c9 100644 --- a/sources/System/Health/HealthSystem.cpp +++ b/sources/System/Health/HealthSystem.cpp @@ -23,10 +23,9 @@ namespace BBM : System(wal) {} - void HealthSystem::onFixedUpdate(WAL::ViewEntity &entity) + void HealthSystem::onFixedUpdate(WAL::ViewEntity &entity) { auto &health = entity.get(); - auto &position = entity.get(); if (health.getHealthPoint() == 0) { health.onDeath(entity, this->_wal); diff --git a/sources/System/Health/HealthSystem.hpp b/sources/System/Health/HealthSystem.hpp index 044e0347..5f09cb1d 100644 --- a/sources/System/Health/HealthSystem.hpp +++ b/sources/System/Health/HealthSystem.hpp @@ -13,12 +13,12 @@ namespace BBM { //! @brief A system to handle Health entities. - class HealthSystem : public WAL::System + class HealthSystem : public WAL::System { private: public: //! @inherit - void onFixedUpdate(WAL::ViewEntity &entity) override; + void onFixedUpdate(WAL::ViewEntity &entity) override; //! @brief A default constructor explicit HealthSystem(WAL::Wal &wal);