aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/headers/Weapon.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/headers/Weapon.hpp')
-rw-r--r--src/main/headers/Weapon.hpp2
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