diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 17:36:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 17:36:07 +0300 |
commit | 9e9a269cc0548f017b756f4158c957fb1edb894f (patch) | |
tree | 22b42db764d61b3c4bcdce0886f6e54415d37a16 /src/gui/viewport.cpp | |
parent | f8b6f8cbb252054404b2716960972669f4047a9f (diff) | |
download | manaverse-9e9a269cc0548f017b756f4158c957fb1edb894f.tar.gz manaverse-9e9a269cc0548f017b756f4158c957fb1edb894f.tar.bz2 manaverse-9e9a269cc0548f017b756f4158c957fb1edb894f.tar.xz manaverse-9e9a269cc0548f017b756f4158c957fb1edb894f.zip |
Fix possible issue with MapType::DEBUG
Renamed to MapType::DEBUGTYPE
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 8b63c6096..90a32165a 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -230,7 +230,7 @@ void Viewport::draw(Graphics *const graphics) mMap->drawCollision(graphics, mPixelViewX, mPixelViewY, drawType); } - if (drawType == MapType::DEBUG) + if (drawType == MapType::DEBUGTYPE) drawDebugPath(graphics); } |