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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index 1a959a858..a03137761 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -169,7 +169,7 @@ class Viewport final : public WindowContainer,
void returnCamera();
- void getMouseTile(int &destX, int &destY);
+ void getMouseTile(int &destX, int &destY) const;
int mMouseX; /**< Current mouse position in pixels. */
int mMouseY; /**< Current mouse position in pixels. */