Removed unneeded variable.
This commit is contained in:
parent
a3f6b827bd
commit
7c55643da4
2 changed files with 1 additions and 3 deletions
|
@ -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() {
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Reference in a new issue