diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-17 22:08:18 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-17 22:08:18 +0100 |
commit | 7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d (patch) | |
tree | 3ce33e8d1b83e3adf9b7998fbfc206014e9250e7 /src/main/headers/Bullet.hpp | |
parent | Add all warning and thread them as errors (diff) | |
download | Subconscious-old-7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d.tar.gz Subconscious-old-7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d.zip |
Fix all warnings (errors with -Werror)
Diffstat (limited to 'src/main/headers/Bullet.hpp')
-rw-r--r-- | src/main/headers/Bullet.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/headers/Bullet.hpp b/src/main/headers/Bullet.hpp index 6ab5dbe..b12c614 100644 --- a/src/main/headers/Bullet.hpp +++ b/src/main/headers/Bullet.hpp @@ -2,12 +2,13 @@ #define BULLET_HPP #include "Item.hpp" +#include "RangedWeapon.hpp" class Bullet : protected Item { public: virtual bool use(RangedWeapon &weapon); - virtual bool decreaseAmount(int qnt); + virtual bool decreaseAmount(unsigned qnt); }; #endif |