summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-23 14:42:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-26 04:39:12 +0100
commit3370445a2e22ee00687ecef2e9dc88f47bb2b4c6 (patch)
treea99ec32a02fc91d729205fc26d7183b6b4214b28 /editor
parentc141a9efcfaecadffe771bd0c37bea0e46a3f9aa (diff)
a
Diffstat (limited to 'editor')
-rw-r--r--editor/wall-editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/wall-editor.cpp b/editor/wall-editor.cpp
index d1bcd650..b2dce5fe 100644
--- a/editor/wall-editor.cpp
+++ b/editor/wall-editor.cpp
@@ -76,8 +76,8 @@ void wall_editor::place_tile(world& w, global_coords coords, const std::shared_p
auto [c, t] = w[coords];
switch (_r)
{
- case rotation::N: t.wall_north() = { atlas, (uint8_t)-1 }; break;
- case rotation::W: t.wall_west() = { atlas, (uint8_t)-1 }; break;
+ case rotation::N: t.wall_north() = { atlas, (variant_t)-1 }; break;
+ case rotation::W: t.wall_west() = { atlas, (variant_t)-1 }; break;
default: std::unreachable();
}
c.mark_walls_modified();