summaryrefslogtreecommitdiffhomepage
path: root/editor/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/draw.cpp')
-rw-r--r--editor/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp
index 63bc02e8..249bf72c 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -60,7 +60,7 @@ void app::draw_cursor()
{
case rotation::N: draw(_wireframe->wall_n, TILE_SIZE); break;
case rotation::W: draw(_wireframe->wall_w, TILE_SIZE); break;
- default: std::unreachable();
+ default: fm_assert(false);
}
}
else if (const auto* ed = _editor->current_scenery_editor())