From 3744fb7f4fa1cdfd2b38f603d7e818801b04eb15 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 11 Feb 2025 15:38:56 -0600 Subject: [PATCH] use the right function, not its second cousin --- MapLoading.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MapLoading.cpp b/MapLoading.cpp index de5f9893..ce2ad862 100644 --- a/MapLoading.cpp +++ b/MapLoading.cpp @@ -947,9 +947,7 @@ void read_segment( void *arg) auto& ssState = stonesenseState.ssState; //read cursor if (stonesenseState.ssConfig.config.follow_DFcursor) { - df::coord t; - DFHack::Gui::getCursorCoords(t); - ssState.dfCursor = t; + ssState.dfCursor = DFHack::Gui::getCursorPos(); ssState.dfSelection = OptCrd3D { df::global::selection_rect->start_x, df::global::selection_rect->start_y, df::global::selection_rect->start_z }; }