summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index c83e83173..ec35ef3d6 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -292,7 +292,7 @@ class Viewport : public WindowContainer, public gcn::MouseListener,
* Draws the given path.
*/
void _drawPath(Graphics *const graphics, const Path &path,
- const gcn::Color color = gcn::Color(255, 0, 0)) const;
+ const gcn::Color &color = gcn::Color(255, 0, 0)) const;
/**
* Make the player go to the mouse position.