From aa49d7678b304d3db17f3b51107fcbcfa6dc3ee2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 9 Apr 2023 18:17:41 +0200 Subject: src: make struct entity smaller --- src/entity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/entity.hpp b/src/entity.hpp index 409d0354..4972767c 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -40,13 +40,13 @@ struct entity fm_DECLARE_DELETED_COPY_ASSIGNMENT(entity); const object_id id = 0; - uint64_t last_update = 0; struct chunk* const c; const std::shared_ptr atlas; const global_coords coord; const Vector2b offset, bbox_offset; const Vector2ub bbox_size; uint16_t delta = 0, frame = 0; + uint8_t last_update = 0; const rotation r = rotation::N; const pass_mode pass = pass_mode::see_through; -- cgit v1.2.3