summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/viewport.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index f02d2973..0d4af6f8 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -315,9 +315,6 @@ void Viewport::_drawDebugPath(Graphics *graphics)
{
if (mDebugFlags & Map::DEBUG_MOUSE_PATH)
{
- // Get the current mouse position
- SDL_GetMouseState(&mMouseX, &mMouseY);
-
// Prepare the walkmask corresponding to the protocol
unsigned char walkMask;
switch (Net::getNetworkType())