summaryrefslogtreecommitdiff
path: root/src/progs/manaplus
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 22:00:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 22:00:04 +0300
commita6739b53c776771e0f78be3bfa3f8ccbf850f7cb (patch)
treeade4eb37edd9b1e96802e5be29de583cc881db5c /src/progs/manaplus
parent39320ff26fed8c754648df4219bc0a9d63c90b16 (diff)
downloadplus-a6739b53c776771e0f78be3bfa3f8ccbf850f7cb.tar.gz
plus-a6739b53c776771e0f78be3bfa3f8ccbf850f7cb.tar.bz2
plus-a6739b53c776771e0f78be3bfa3f8ccbf850f7cb.tar.xz
plus-a6739b53c776771e0f78be3bfa3f8ccbf850f7cb.zip
Remove default parameters from viewport.h
Diffstat (limited to 'src/progs/manaplus')
-rw-r--r--src/progs/manaplus/gui/viewport.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/manaplus/gui/viewport.h b/src/progs/manaplus/gui/viewport.h
index 62982fc89..ea12776c1 100644
--- a/src/progs/manaplus/gui/viewport.h
+++ b/src/progs/manaplus/gui/viewport.h
@@ -151,8 +151,8 @@ class Viewport final : public WindowContainer,
{ mCameraRelativeY = n; updateMidVars(); }
void moveCameraToActor(const BeingId actorId,
- const int x = 0,
- const int y = 0);
+ const int x,
+ const int y);
void moveCameraToPosition(const int x, const int y);
@@ -191,7 +191,7 @@ class Viewport final : public WindowContainer,
*/
void drawPath(Graphics *const graphics,
const Path &path,
- const Color &color = Color(255, 0, 0))
+ const Color &color)
const A_NONNULL(2);
bool leftMouseAction();