From ee590ad129a46bfd0002d20294a12e937c1f1764 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 2 Oct 2019 21:48:02 +0200 Subject: [PATCH] DrawAutomapType cleanup --- Source/automap.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/automap.cpp b/Source/automap.cpp index de22aaf52..044f8f93b 100644 --- a/Source/automap.cpp +++ b/Source/automap.cpp @@ -293,19 +293,19 @@ void DrawAutomapType(int sx, int sy, WORD automap_type) DrawLine(sx, y1, x2, y2, COLOR_DIM); DrawLine(sx, sy, x1, y2, COLOR_DIM); DrawLine(sx, sy, x2, y2, COLOR_DIM); - return; + break; case 2: case 5: do_vert = TRUE; break; - case 4: - do_vert = TRUE; - do_horz = TRUE; - break; case 3: case 6: do_horz = TRUE; break; + case 4: + do_vert = TRUE; + do_horz = TRUE; + break; case 8: do_vert = TRUE; do_cave_horz = TRUE;