From 7b2119c4d13fb99611b3490e5b72d2216a06f7d5 Mon Sep 17 00:00:00 2001 From: myk002 Date: Mon, 24 Oct 2022 17:03:28 -0700 Subject: [PATCH] remove debug statement that doesn't help --- plugins/mousequery.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/mousequery.cpp b/plugins/mousequery.cpp index 4c88bd2ac..124664fa2 100644 --- a/plugins/mousequery.cpp +++ b/plugins/mousequery.cpp @@ -295,10 +295,7 @@ struct mousequery_hook : public df::viewscreen_dwarfmodest bool handleLeft(df::coord &mpos, int32_t mx, int32_t my, int32_t depth) { - if (Core::getInstance().getModstate() & DFH_MOD_SHIFT) { - DEBUG(log).print("shift is down; not adjusting tile depth\n"); - } - else + if (!(Core::getInstance().getModstate() & DFH_MOD_SHIFT)) mpos.z += depth; bool cursor_still_here = (last_clicked_x == mpos.x && last_clicked_y == mpos.y && last_clicked_z == mpos.z);