diff options
Diffstat (limited to 'src/tile.hpp')
-rw-r--r-- | src/tile.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tile.hpp b/src/tile.hpp index c49b95b0..e8bac834 100644 --- a/src/tile.hpp +++ b/src/tile.hpp @@ -24,8 +24,7 @@ struct tile_image final struct tile final { - enum class pass_mode : std::uint8_t { pass_blocked, pass_ok, pass_shoot_through, }; - using enum pass_mode; + enum pass_mode : std::uint8_t { pass_blocked, pass_ok, pass_shoot_through, }; tile_image ground_image, wall_north, wall_west; pass_mode passability = pass_shoot_through; |