diff options
author | mafaldo <mafaldo@heavyhammer.home> | 2018-02-17 00:29:32 +0100 |
---|---|---|
committer | mafaldo <mafaldo@heavyhammer.home> | 2018-02-17 00:29:32 +0100 |
commit | af3e76c5ee367ceffb78fa4a8ffc0eadf90e5de3 (patch) | |
tree | 24dcdaa94c20211974fca97e41647ff0dec31923 /src/main/headers/Weapon.hpp | |
parent | Add cpack directive and update README (diff) | |
download | Subconscious-old-af3e76c5ee367ceffb78fa4a8ffc0eadf90e5de3.tar.gz Subconscious-old-af3e76c5ee367ceffb78fa4a8ffc0eadf90e5de3.zip |
add Item type, use for MeleeWeapon
Diffstat (limited to 'src/main/headers/Weapon.hpp')
-rw-r--r-- | src/main/headers/Weapon.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/headers/Weapon.hpp b/src/main/headers/Weapon.hpp index 4c134ea..40eb7a3 100644 --- a/src/main/headers/Weapon.hpp +++ b/src/main/headers/Weapon.hpp @@ -12,7 +12,7 @@ protected: unsigned _damage; unsigned _requiredLevel; - Weapon(const std::string &name) : Item(name) {} + Weapon(Item::Type t, const std::string &name) : Item(t, name) {} }; #endif |