summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-09 17:24:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-09 17:24:11 +0300
commit59b7218021ab3456fc899ba0efffea35a6643de6 (patch)
treea0bcaa47c0d74d8cfb3f93ae791cec1bc83cb392 /src/gui/viewport.cpp
parentd9c2fc9b34fbb291b4d42bb1070fdff07cd56914 (diff)
downloadmv-59b7218021ab3456fc899ba0efffea35a6643de6.tar.gz
mv-59b7218021ab3456fc899ba0efffea35a6643de6.tar.bz2
mv-59b7218021ab3456fc899ba0efffea35a6643de6.tar.xz
mv-59b7218021ab3456fc899ba0efffea35a6643de6.zip
Add support for ground skills.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp5
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)
{