summaryrefslogtreecommitdiffhomepage
path: root/src/tile.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-29 01:29:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-29 01:29:53 +0200
commit82aa7b9b99d0477885980b9c0ea0ae9beed1ecfa (patch)
tree6c0f91986212156e835bd9618e825bf4df7e256f /src/tile.hpp
parentb0069421278d6fc3fac0153e2f19c549c7bfce32 (diff)
a
Diffstat (limited to 'src/tile.hpp')
-rw-r--r--src/tile.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile.hpp b/src/tile.hpp
index 0448b426..1997f747 100644
--- a/src/tile.hpp
+++ b/src/tile.hpp
@@ -6,10 +6,10 @@ namespace floormat {
struct tile final
{
- enum pass_mode : std::uint8_t { pass_blocked, pass_ok, pass_shoot_through, };
+ enum pass_mode : std::uint8_t { pass_ok, pass_blocked, pass_shoot_through, };
tile_image ground, wall_north, wall_west;
- pass_mode passability = pass_shoot_through;
+ pass_mode passability = pass_ok;
constexpr tile() = default;