diff --git a/Unit testing/billy_objects_tests.cpp b/Unit testing/billy_objects_tests.cpp index b133b12..77e24df 100644 --- a/Unit testing/billy_objects_tests.cpp +++ b/Unit testing/billy_objects_tests.cpp @@ -1,3 +1,6 @@ +// +// Created by postaron on 29/02/24. +// #include #include #include diff --git a/src/generic_object.cpp b/src/generic_object.cpp index a09f2c9..c83cccb 100644 --- a/src/generic_object.cpp +++ b/src/generic_object.cpp @@ -141,11 +141,7 @@ namespace character { return 0; } case tools::Dagger: - if (inType == characType::Habilete) { - return 1; - } else { - return 0; - } + return 0; case tools::RockClimbingKit: return inType == characType::Adresse ? 1 : 0; case tools::SackOfGrain: