From 1468845c9a7fe9629142227d1bef0302a39fce81 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 29 Nov 2022 14:26:40 +0100 Subject: editor: maybe try indenting like that --- editor/update.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/update.cpp b/editor/update.cpp index 4d140c88..cc68c4b5 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -128,8 +128,8 @@ void app::update(float dt) do_camera(dt, keys, get_key_modifiers()); clear_non_repeated_keys(); - if (clickable_scenery* s; - _editor.mode() == editor_mode::none && cursor.tile && (s = find_clickable_scenery(*cursor.pixel)) && s->item.can_activate()) + if (clickable_scenery* s; _editor.mode() == editor_mode::none && cursor.tile && + (s = find_clickable_scenery(*cursor.pixel)) && s->item.can_activate()) M->set_cursor(std::uint32_t(Cursor::Hand)); else M->set_cursor(std::uint32_t(Cursor::Arrow)); -- cgit v1.2.3