diff --git a/src/generic_object.cpp b/src/generic_object.cpp index 70fd557..0679352 100644 --- a/src/generic_object.cpp +++ b/src/generic_object.cpp @@ -31,7 +31,7 @@ namespace character { std::uint32_t Weapons::add_damage() const noexcept { return type == weapons::Morgenstern ? 1 : 0; } - std::int32_t Weapons::add_materiel(const characteristic::characType &inType) const noexcept { + std::int32_t Weapons::add_materiel(const characType &inType) const noexcept { switch (type) { case weapons::Sword: if (inType == characType::Habilete) { @@ -94,7 +94,7 @@ namespace character { std::uint32_t Equipments::add_damage() const noexcept { return 0; } - std::int32_t Equipments::add_materiel(const characteristic::characType &inType) const noexcept { + std::int32_t Equipments::add_materiel(const characType &inType) const noexcept { switch (type) { case equipments::Chainmail: if (inType == characType::Habilete || @@ -130,7 +130,7 @@ namespace character { std::uint32_t Tools::add_damage() const noexcept { return 0; } - std::int32_t Tools::add_materiel(const characteristic::characType &inType) const noexcept { + std::int32_t Tools::add_materiel(const characType &inType) const noexcept { switch (type) { case tools::Fourche: switch (inType) {