diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 745b11bed..832708a45 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -568,6 +568,11 @@ void Viewport::mousePressed(MouseEvent &event) } } +void Viewport::getMouseTile(int &destX, int &destY) +{ + getMouseTile(mMouseX, mMouseY, destX, destY); +} + void Viewport::getMouseTile(const int x, int y, int &destX, int &destY) { |