summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-01 21:32:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-01 21:32:10 +0100
commitd7c63cc5cc224df11b95bfd7d36b16f803575bdb (patch)
tree99f42d2a3444e0860d0504d0eaf2c13d507ee3e6 /src/chunk.hpp
parentaf9e9e64a8dea21868cf3474cda6b8a85ac05442 (diff)
use variant typedef and default value consistently
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index fa3f6979..8ea6a6dd 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -37,7 +37,7 @@ struct chunk final
private:
std::array<std::shared_ptr<tile_atlas>, TILE_COUNT> _ground_atlases, _wall_north_atlases, _wall_west_atlases;
- std::array<std::uint16_t, TILE_COUNT> _ground_variants = {}, _wall_north_variants = {}, _wall_west_variants = {};
+ std::array<variant_t, TILE_COUNT> _ground_variants = {}, _wall_north_variants = {}, _wall_west_variants = {};
std::bitset<TILE_COUNT*2> _passability = {};
mutable bool _maybe_empty = true;
};