diff options
Diffstat (limited to 'backend/ArmorObject.cpp')
-rw-r--r-- | backend/ArmorObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ArmorObject.cpp b/backend/ArmorObject.cpp index 3e0a4e2..a9fd51f 100644 --- a/backend/ArmorObject.cpp +++ b/backend/ArmorObject.cpp @@ -1,9 +1,9 @@ #include "ArmorObject.h" -void ArmorObject::set_protection(int protection) { +void ArmorObject::set_protection(unsigned int protection) { this->protection = protection; } -int ArmorObject::get_protection() const { +unsigned int ArmorObject::get_protection() const { return this->protection; } |