modify start, not options.start when getting coord

develop
myk002 2021-05-21 06:32:41 -07:00
parent 07e29bdc3a
commit 0409b7bca5
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -754,9 +754,9 @@ command_result blueprint(color_ostream &out, vector<string> &parameters)
// 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");