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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index 61fee37f8..c98350744 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -302,9 +302,9 @@ class Viewport final : public WindowContainer,
bool leftMouseAction();
- bool openContextMenu(MouseEvent &event);
+ bool openContextMenu(const MouseEvent &event);
- void walkByMouse(MouseEvent &event);
+ void walkByMouse(const MouseEvent &event);
/**
* Make the player go to the mouse position.