summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/gui/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/manaplus/gui/viewport.cpp b/src/progs/manaplus/gui/viewport.cpp
index a4ca4959b..9eff3b347 100644
--- a/src/progs/manaplus/gui/viewport.cpp
+++ b/src/progs/manaplus/gui/viewport.cpp
@@ -317,10 +317,10 @@ void Viewport::drawDebugPath(Graphics *const graphics)
Gui::getMouseState(mMouseX, mMouseY);
static Path debugPath;
- static Vector lastMouseDestination = Vector(0.0F, 0.0F);
+ static Vector lastMouseDestination = Vector(0.0F, 0.0F, 0.0F);
const int mousePosX = mMouseX + mPixelViewX;
const int mousePosY = mMouseY + mPixelViewY;
- Vector mouseDestination(mousePosX, mousePosY);
+ Vector mouseDestination(mousePosX, mousePosY, 0.0F);
if (mouseDestination.x != lastMouseDestination.x
|| mouseDestination.y != lastMouseDestination.y)