From f2c0a9ec2fb4f51c0914c193a1600ca37ef01dcd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 31 Oct 2022 09:12:40 +0100 Subject: kill braces --- editor/draw.cpp | 2 -- 1 file changed, 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); } -- cgit v1.2.3