summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index fa2dd7508..f682cd96f 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -204,6 +204,11 @@ class Viewport final : public WindowContainer,
void walkByMouse(const MouseEvent &event);
+ void getMouseTile(const int x,
+ const int y,
+ int &destX,
+ int &destY);
+
/**
* Make the player go to the mouse position.
*/