From 20b958c69451dd8251a8899cf7264d5c92ed7c60 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 25 Feb 2018 21:11:43 +0100 Subject: Better management of stats and skill of actors and items --- src/main/headers/Bullet.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/headers/Bullet.hpp') diff --git a/src/main/headers/Bullet.hpp b/src/main/headers/Bullet.hpp index b12c614..db5cdff 100644 --- a/src/main/headers/Bullet.hpp +++ b/src/main/headers/Bullet.hpp @@ -2,12 +2,11 @@ #define BULLET_HPP #include "Item.hpp" -#include "RangedWeapon.hpp" -class Bullet : protected Item +class Bullet : public Item { public: - virtual bool use(RangedWeapon &weapon); + virtual bool use() { return false; } virtual bool decreaseAmount(unsigned qnt); }; -- cgit v1.2.1