summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-22 01:22:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-22 01:22:38 +0300
commitf95e58406341d5672048ed9dca293beea9ee6b2c (patch)
tree49bb3f3672bbd152f7ea962815d24ef8cdfb07b0 /src/gui/viewport.cpp
parentf3ac812e2079eac53c1a9db56541d7103bd14a61 (diff)
downloadmanaverse-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.gz
manaverse-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.bz2
manaverse-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.xz
manaverse-f95e58406341d5672048ed9dca293beea9ee6b2c.zip
Add more missing consts.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index e0d5d217f..341477c0f 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -582,7 +582,7 @@ void Viewport::mousePressed(MouseEvent &event)
}
}
-void Viewport::getMouseTile(int &destX, int &destY)
+void Viewport::getMouseTile(int &destX, int &destY) const
{
getMouseTile(mMouseX, mMouseY, destX, destY);
}