summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-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 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);
}