summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-12 13:22:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-12 14:29:20 +0200
commit4d1eb2ff20ac86533355702684bd69fe1ab46a8a (patch)
tree143a311127e6bc7240382a1ab7bc6c84c5c494bf /editor
parent099af546882db7e2fdfef9e942cfc7e6d73f3261 (diff)
a
Diffstat (limited to 'editor')
-rw-r--r--editor/app.cpp2
-rw-r--r--editor/events.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index ace6718a..4c81ffda 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -33,7 +33,7 @@ app::~app() = default;
void app::reset_world()
{
- reset_world(floormat::world{});
+ reset_world(world{});
}
void app::ensure_player_character(world& w)
diff --git a/editor/events.cpp b/editor/events.cpp
index 1c73188c..0863e6ec 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -220,7 +220,7 @@ void app::on_mouse_leave() noexcept
update_cursor_tile(NullOpt);
}
-void app::do_key(floormat::key k)
+void app::do_key(key k)
{
do_key(k, get_key_modifiers());
}