aboutsummaryrefslogtreecommitdiff
path: root/backend/ArmorObject.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-02 23:11:42 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-02 23:11:42 +0100
commited78baff64fe45479ca6c480d985ce0f9c0c9515 (patch)
treeb3224d0d01dc0c563c8e49751c628994b66f58b6 /backend/ArmorObject.cpp
parent07b8a5b0baed8c7b23681c99f25f297045945bfc (diff)
more bug fixes
Diffstat (limited to 'backend/ArmorObject.cpp')
-rw-r--r--backend/ArmorObject.cpp4
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;
}