summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-07-20 23:09:11 +0300
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-22 00:14:39 +0200
commit682b632b26bcc0dc1e375858d23e15d645ec2fdb (patch)
tree21d6cf30f53fecb5026f2682cd943abe93d3bcdd /src/gui
parent3d27cb14160fb17eb7fc149ac82318bcec6f1bd6 (diff)
downloadmana-client-682b632b26bcc0dc1e375858d23e15d645ec2fdb.tar.gz
mana-client-682b632b26bcc0dc1e375858d23e15d645ec2fdb.tar.bz2
mana-client-682b632b26bcc0dc1e375858d23e15d645ec2fdb.tar.xz
mana-client-682b632b26bcc0dc1e375858d23e15d645ec2fdb.zip
Add two debug map modes and improve slightly map drawing.
Reviewed-by: Bertram
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 66f614a8..120106cb 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -532,7 +532,7 @@ void Viewport::mouseMoved(gcn::MouseEvent &event)
void Viewport::toggleDebugPath()
{
mShowDebugPath++;
- if (mShowDebugPath > Map::MAP_SPECIAL)
+ if (mShowDebugPath > Map::MAP_SPECIAL3)
mShowDebugPath = Map::MAP_NORMAL;
if (mMap)
{