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, 2 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index 4f7ce5727..61fee37f8 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -326,6 +326,8 @@ class Viewport final : public WindowContainer,
int mScrollCenterOffsetY;
int mMouseX; /**< Current mouse position in pixels. */
int mMouseY; /**< Current mouse position in pixels. */
+ int mMousePressX;
+ int mMousePressY;
int mPixelViewX; /**< Current viewpoint in pixels. */
int mPixelViewY; /**< Current viewpoint in pixels. */
int mShowDebugPath; /**< Show a path from player to pointer. */