diff --git a/source/abstract/Character.cpp b/source/abstract/Character.cpp index e89737f..c6effce 100644 --- a/source/abstract/Character.cpp +++ b/source/abstract/Character.cpp @@ -32,8 +32,7 @@ Character::Character(World& world, const Data& data, const Yaml& config) : mMaxHealth(config.get(KEY_HEALTH, DEFAULT_HEALTH)), mCurrentHealth(mMaxHealth), mMovementSpeed(config.get(KEY_SPEED, DEFAULT_SPEED)), - mWeapon(new Weapon(world, *this, Yaml(config.get(KEY_WEAPON, DEFAULT_WEAPON)))), - mStartPathfinding(false) { + mWeapon(new Weapon(world, *this, Yaml(config.get(KEY_WEAPON, DEFAULT_WEAPON)))) { } Character::~Character() { diff --git a/source/abstract/Character.h b/source/abstract/Character.h index 7b73e64..6dc9a1d 100644 --- a/source/abstract/Character.h +++ b/source/abstract/Character.h @@ -54,7 +54,6 @@ private: const float mMovementSpeed; std::unique_ptr mWeapon; std::vector mPath; //< Contains nodes to reach a set destination. - bool mStartPathfinding; //< True if a movement destination was just set. }; #endif /* DG_ACTOR_H_ */