aboutsummaryrefslogtreecommitdiff
path: root/backend/ArmorObject.h
diff options
context:
space:
mode:
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;
};