diff options
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 { |