From ed78baff64fe45479ca6c480d985ce0f9c0c9515 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 2 Nov 2024 23:11:42 +0100 Subject: more bug fixes --- backend/ArmorObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/ArmorObject.cpp') 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; } -- cgit v1.2.3