summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 20:52:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 20:52:25 +0300
commit4e771087d5d3886557444417e870929971a4751c (patch)
tree27617a7337d5d0377b71cf524d147b17e673f3f8 /src/progs
parent5d619b92b6fd08d5656e22adb6309d7c7ac8efd9 (diff)
downloadplus-4e771087d5d3886557444417e870929971a4751c.tar.gz
plus-4e771087d5d3886557444417e870929971a4751c.tar.bz2
plus-4e771087d5d3886557444417e870929971a4751c.tar.xz
plus-4e771087d5d3886557444417e870929971a4751c.zip
Remove default parameter from vector.
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)