diff options
Diffstat (limited to 'src/equipment.h')
-rw-r--r-- | src/equipment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/equipment.h b/src/equipment.h index db9cf27d..80a2ae49 100644 --- a/src/equipment.h +++ b/src/equipment.h @@ -39,8 +39,8 @@ class Equipment /** * Get equipment at the given slot. */ - Item* - getEquipment(int index) { return mEquipment[index]; } + Item* getEquipment(int index) const + { return mEquipment[index]; } /** * Set equipment at the given slot. @@ -71,7 +71,7 @@ class Equipment void setArrows(Item *arrows) { mArrows = arrows; } - protected: + private: Item *mEquipment[EQUIPMENT_SIZE]; Item *mArrows; }; |