diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 07:12:49 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 23:23:11 +0100 |
commit | d0efe8b98e2941028304d3f419197002e4ad2811 (patch) | |
tree | 2dbb810c0e4548c1debdcc832e92a0473d9227a0 /src/entity.hpp | |
parent | 721503fb783beb2c6a11c5f9aa589ef210cb8699 (diff) |
bbb
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entity.hpp b/src/entity.hpp index da6ccca3..396cb881 100644 --- a/src/entity.hpp +++ b/src/entity.hpp @@ -20,9 +20,9 @@ struct entity_proto Vector2b offset, bbox_offset; Vector2ub bbox_size = Vector2ub(iTILE_SIZE2); std::uint16_t delta = 0, frame = 0; - entity_type type = entity_type::none; - rotation r : rotation_BITS = rotation::N; - pass_mode pass : pass_mode_BITS = pass_mode::see_through; + entity_type type : 3 = entity_type::none; + rotation r : rotation_BITS = rotation::N; + pass_mode pass : pass_mode_BITS = pass_mode::see_through; float ordinal(local_coords coord) const; entity_proto& operator=(const entity_proto&); |