diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-05 07:49:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-05 07:49:08 +0100 |
commit | ee94c1d03a571369d45645be16ab4f5cd5ae9f53 (patch) | |
tree | 580620ca1dbea031e9eb4d00b29c4b4f83889157 | |
parent | bd34d6ef65fed8d28be57a41f70bf2abada00c76 (diff) |
editor: fix warning
-rw-r--r-- | editor/update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp index d55419ab..f6d64411 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -142,7 +142,7 @@ void app::update(float dt) do_camera(dt, keys, get_key_modifiers()); clear_non_repeated_keys(); - if (clickable_scenery* s = find_clickable_scenery(cursor.pixel)) + if ([[maybe_unused]] clickable_scenery* s = find_clickable_scenery(cursor.pixel)) M->set_cursor(std::uint32_t(Cursor::Hand)); else M->set_cursor(std::uint32_t(Cursor::Arrow)); |