aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Bullet.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-17 22:08:18 +0100
committerNao Pross <naopross@thearcway.org>2018-02-17 22:08:18 +0100
commit7ec2e0fbd6c53faa52ca0e6f2e8e172d3556c81d (patch)
tree3ce33e8d1b83e3adf9b7998fbfc206014e9250e7 /src/main/headers/Bullet.hpp
parentAdd all warning and thread them as errors (diff)
downloadSubconscious-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.hpp3
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