From 3c8ba091f21309baa108f7b5d72b6fdfba6008a7 Mon Sep 17 00:00:00 2001 From: lethosor Date: Tue, 24 Jun 2014 10:08:50 -0400 Subject: [PATCH] Disable "stable position" when site finder is active --- plugins/embark-tools.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/embark-tools.cpp b/plugins/embark-tools.cpp index 2953f83f3..6c888ee7e 100644 --- a/plugins/embark-tools.cpp +++ b/plugins/embark-tools.cpp @@ -191,6 +191,11 @@ void sticky_save (df::viewscreen_choose_start_sitest * screen) void sticky_apply (df::viewscreen_choose_start_sitest * screen) { + if (screen->finder.finder_state != -1) + { + // Site finder is active - don't override default local position + return; + } screen->embark_pos_min.x = sticky_pos[0]; screen->embark_pos_max.x = sticky_pos[1]; screen->embark_pos_min.y = sticky_pos[2];