diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-01 23:52:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-01 23:52:08 +0100 |
commit | c9ed7f5a14037a87f74650e4426056cbdec59116 (patch) | |
tree | 4c36a641c55b51ba1198643afc7b598ee87aa48e | |
parent | 88816b7f2d63a78ae6ec6719c54707eba6dea0b4 (diff) |
editor: update cursor tile after switching modes
-rw-r--r-- | editor/update.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/update.cpp b/editor/update.cpp index 18544a02..b78175f9 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -138,6 +138,7 @@ void app::update(float dt) update_world(dt); apply_commands(keys); do_camera(dt, keys, get_key_modifiers()); + update_cursor_tile(cursor.pixel); clear_non_repeated_keys(); if (clickable_scenery* s; _editor.mode() == editor_mode::none && cursor.tile && |