summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/draw.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/draw.cpp b/editor/draw.cpp
index 4000689b..654c484e 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -24,13 +24,11 @@ void app::draw_cursor_tile()
};
if (const auto* ed = _editor.current(); ed && ed->mode() == editor_mode::walls)
- {
switch (ed->rotation())
{
case editor_wall_rotation::N: draw(_wireframe_wall_n, TILE_SIZE); break;
case editor_wall_rotation::W: draw(_wireframe_wall_w, TILE_SIZE); break;
}
- }
else
draw(_wireframe_quad, TILE_SIZE2);
}