summaryrefslogtreecommitdiffhomepage
path: root/main/editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-16 13:09:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-16 13:09:27 +0200
commitacc3ffe2324d665ed5e62a60ac914d8c01eb828e (patch)
treedb45d66b216865a6edb87f589420abf7c4c2fd4c /main/editor.cpp
parent01c6604fef366d4ecf3abd697fa26815438b726e (diff)
a
Diffstat (limited to 'main/editor.cpp')
-rw-r--r--main/editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/editor.cpp b/main/editor.cpp
index a83100c2..7759b596 100644
--- a/main/editor.cpp
+++ b/main/editor.cpp
@@ -10,7 +10,7 @@ namespace floormat {
static const std::filesystem::path image_path{IMAGE_PATH, std::filesystem::path::generic_format};
-tile_type::tile_type(Containers::StringView name) : _name{name}
+tile_type::tile_type(editor_mode mode, Containers::StringView name) : _name{name}, _mode{mode}
{
load_atlases();
}