From 31d984e9348f23287f89b50ec661bdb542400f4d Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Tue, 5 May 2020 10:21:56 +0200 Subject: [PATCH] Fixed 2 incursion handling bugs --- docs/changelog.txt | 1 + plugins/embark-assistant/survey.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 1aa7f916e..5b83825e1 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -42,6 +42,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ## Fixes - Fixed a segfault when attempting to start a headless session with a graphical PRINT_MODE setting - `labormanager`: fixed handling of new jobs in 0.47 +- `embark-assistant`: fixed a couple of incursion handling bugs. ## Ruby - Updated ``item_find`` and ``building_find`` to use centralized logic that works on more screens diff --git a/plugins/embark-assistant/survey.cpp b/plugins/embark-assistant/survey.cpp index 79c66e4df..20dd9d539 100644 --- a/plugins/embark-assistant/survey.cpp +++ b/plugins/embark-assistant/survey.cpp @@ -2424,7 +2424,7 @@ void embark_assist::survey::survey_embark(embark_assist::defs::mid_level_tiles * } else { process_embark_incursion_mid_level_tile - (translate_ns_edge(survey_results, + (translate_ew_edge(survey_results, true, x, y, @@ -2481,7 +2481,7 @@ void embark_assist::survey::survey_embark(embark_assist::defs::mid_level_tiles * } else { process_embark_incursion_mid_level_tile - (translate_ns_edge(survey_results, + (translate_ew_edge(survey_results, false, x, y,