diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-10 16:04:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-10 16:04:57 +0100 |
commit | 8dfa3d885b34f9d9cc20b47890268cedb9fb217f (patch) | |
tree | 208400aa58f825730fc6220dea76eb1780e8122f /src/anim-atlas.cpp | |
parent | b1d66390ca5d11e48f58bb87f49b0f9da5338ca0 (diff) |
flush it
Diffstat (limited to 'src/anim-atlas.cpp')
-rw-r--r-- | src/anim-atlas.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/anim-atlas.cpp b/src/anim-atlas.cpp index 2005526b..47490246 100644 --- a/src/anim-atlas.cpp +++ b/src/anim-atlas.cpp @@ -7,9 +7,7 @@ namespace floormat { -static constexpr std::array<char[3], (std::size_t)rotation::COUNT> name_array = { - "n", "ne", "e", "se", "s", "sw", "w", "nw", -}; +static constexpr const char* name_array[] = { "n", "ne", "e", "se", "s", "sw", "w", "nw", }; std::uint8_t anim_atlas::rotation_to_index(const anim_info& info, rotation r) noexcept { |