diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 456196ce..0cadb9fc 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -47,17 +47,7 @@ extern volatile int tick_time; -Viewport::Viewport(): - mMap(nullptr), - mMouseX(0), - mMouseY(0), - mPixelViewX(0.0f), - mPixelViewY(0.0f), - mDebugFlags(0), - mPlayerFollowMouse(false), - mLocalWalkTime(-1), - mHoverBeing(nullptr), - mHoverItem(nullptr) +Viewport::Viewport() { setOpaque(false); addMouseListener(this); |