diff options
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index 5ddce3a..6a7fa7e 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -162,12 +162,12 @@ public: } ///entity inventory - inline Inventory *inventory() { + inline Inventory *inventory() const { return entity_inventory; } /// entity info - inline const Info *info() const { + inline Info *info() const { return entity_info; } |