aboutsummaryrefslogtreecommitdiff
path: root/backend/ArmorObject.h
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.h
parent07b8a5b0baed8c7b23681c99f25f297045945bfc (diff)
more bug fixes
Diffstat (limited to 'backend/ArmorObject.h')
-rw-r--r--backend/ArmorObject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/ArmorObject.h b/backend/ArmorObject.h
index 068594e..74af728 100644
--- a/backend/ArmorObject.h
+++ b/backend/ArmorObject.h
@@ -6,12 +6,12 @@ class ArmorObject : public Object {
using Object::Object;
public:
- void set_protection(int protection);
- int get_protection() const;
+ void set_protection(unsigned int protection);
+ unsigned int get_protection() const;
virtual String get_displayname() const;
private:
- int protection = 0;
+ unsigned int protection = 0;
};