From 0eb9eee7738db2429a4b97edc09a7f6ea2dc9596 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Sun, 5 Jun 2022 13:04:16 -0700 Subject: [PATCH] Fixes presumed typo in if statement --- plugins/embark-assistant/matcher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/embark-assistant/matcher.cpp b/plugins/embark-assistant/matcher.cpp index 52348ea33..e550b5ca2 100644 --- a/plugins/embark-assistant/matcher.cpp +++ b/plugins/embark-assistant/matcher.cpp @@ -475,7 +475,8 @@ namespace embark_assist { return; // We're at the world edge, so no incursions from the outside. } - if (!&survey_results->at(fetch_x).at(fetch_y).surveyed) { + if (!survey_results->at(fetch_x).at(fetch_y).surveyed) { + // todo: this has never been executed before /*std::cerr << hello, is anybody out there*/ *failed_match = true; return; }