Skip to content

Commit

Permalink
use the right function, not its second cousin
Browse files Browse the repository at this point in the history
  • Loading branch information
ab9rf committed Feb 11, 2025
1 parent 54c04cc commit 3744fb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions MapLoading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
}

Expand Down

0 comments on commit 3744fb7

Please sign in to comment.