summaryrefslogtreecommitdiffhomepage
path: root/src/entity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.hpp')
-rw-r--r--src/entity.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.hpp b/src/entity.hpp
index f696b43b..409d0354 100644
--- a/src/entity.hpp
+++ b/src/entity.hpp
@@ -42,7 +42,7 @@ struct entity
const object_id id = 0;
uint64_t last_update = 0;
struct chunk* const c;
- std::shared_ptr<anim_atlas> atlas;
+ const std::shared_ptr<anim_atlas> atlas;
const global_coords coord;
const Vector2b offset, bbox_offset;
const Vector2ub bbox_size;