summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-05 00:53:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-05 00:53:33 +0300
commit987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2 (patch)
tree1ae9449d801815fe89476776d98427e61d702d4c /src/gui/viewport.h
parentf24ddad3fa0f843eb29a281426151cf1a5f31f4b (diff)
downloadmanaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.tar.gz
manaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.tar.bz2
manaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.tar.xz
manaverse-987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2.zip
another some const fixes.
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.