diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 061b07adc..af2125cb5 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -280,7 +280,7 @@ void Viewport::followMouse() { if (!gui) return; - const uint8_t button = Gui::getMouseState(&mMouseX, &mMouseY); + const MouseStateType button = Gui::getMouseState(&mMouseX, &mMouseY); // If the left button is dragged if (mPlayerFollowMouse && (button & SDL_BUTTON(1))) { |