summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
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);
}