From 0409b7bca596bd15cfb495eeb197b8bdd9cfc607 Mon Sep 17 00:00:00 2001 From: myk002 Date: Fri, 21 May 2021 06:32:41 -0700 Subject: [PATCH] modify start, not options.start when getting coord --- plugins/blueprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/blueprint.cpp b/plugins/blueprint.cpp index fc8ac5fa2..2158f4086 100644 --- a/plugins/blueprint.cpp +++ b/plugins/blueprint.cpp @@ -754,9 +754,9 @@ command_result blueprint(color_ostream &out, vector ¶meters) // start coordinates can come from either the commandline or the map cursor DFCoord start(options.start); - if (options.start.x == -30000) + if (start.x == -30000) { - if (!Gui::getCursorCoords(options.start)) + if (!Gui::getCursorCoords(start)) { out.printerr("Can't get cursor coords! Make sure you specify the" " --cursor parameter or have an active cursor in DF.\n");