diff options
Diffstat (limited to 'src/equipment.h')
-rw-r--r-- | src/equipment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/equipment.h b/src/equipment.h index 48d538081..176790f0f 100644 --- a/src/equipment.h +++ b/src/equipment.h @@ -76,7 +76,7 @@ class Equipment /** * Get equipment at the given slot. */ - Item *getEquipment(int index) const + Item *getEquipment(const int index) const { return mBackend ? mBackend->getEquipment(index) : nullptr; } /** @@ -90,7 +90,7 @@ class Equipment */ void setEquipment(int index, int id, int quantity = 0); - void setBackend(Backend *backend) + void setBackend(Backend *const backend) { mBackend = backend; } Backend *getBackend() const |