diff options
Diffstat (limited to 'editor/update.cpp')
| -rw-r--r-- | editor/update.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp index adca9492..569d81dc 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -1,5 +1,6 @@ #include "app.hpp" #include "src/chunk.hpp" +#include "src/tile-atlas.hpp" #include "floormat/events.hpp" #include "floormat/main.hpp" @@ -69,7 +70,7 @@ void app::do_key(key k, int mods) fm_warn("unhandled key: '%zu'", std::size_t(k)); return; case key_rotate_tile: - if (auto* ed = _editor.current(); ed) + if (auto* ed = _editor.current_tile_editor(); ed) ed->toggle_rotation(); return; case key_mode_none: |
