summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-31 09:12:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-10-31 09:12:40 +0100
commitf2c0a9ec2fb4f51c0914c193a1600ca37ef01dcd (patch)
tree081c7cccf63c3641e0e23e4dd900c0040d1fdb01
parent254ae02e16a7d42053c9e94c6d27189d0af0e874 (diff)
kill braces
-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);
}