From c9ed7f5a14037a87f74650e4426056cbdec59116 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 1 Dec 2022 23:52:08 +0100 Subject: editor: update cursor tile after switching modes --- editor/update.cpp | 1 + 1 file changed, 1 insertion(+) 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 && -- cgit v1.2.3