Removed unneeded variable.

This commit is contained in:
Felix Ableitner 2013-03-29 18:42:56 +01:00
parent a3f6b827bd
commit 7c55643da4
2 changed files with 1 additions and 3 deletions

View file

@ -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() {

View file

@ -54,7 +54,6 @@ private:
const float mMovementSpeed;
std::unique_ptr<Weapon> mWeapon;
std::vector<sf::Vector2f> mPath; //< Contains nodes to reach a set destination.
bool mStartPathfinding; //< True if a movement destination was just set.
};
#endif /* DG_ACTOR_H_ */