Browse Source

DrawAutomapType cleanup

pull/340/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
ee590ad129
  1. 10
      Source/automap.cpp

10
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, y1, x2, y2, COLOR_DIM);
DrawLine(sx, sy, x1, y2, COLOR_DIM); DrawLine(sx, sy, x1, y2, COLOR_DIM);
DrawLine(sx, sy, x2, y2, COLOR_DIM); DrawLine(sx, sy, x2, y2, COLOR_DIM);
return; break;
case 2: case 2:
case 5: case 5:
do_vert = TRUE; do_vert = TRUE;
break; break;
case 4:
do_vert = TRUE;
do_horz = TRUE;
break;
case 3: case 3:
case 6: case 6:
do_horz = TRUE; do_horz = TRUE;
break; break;
case 4:
do_vert = TRUE;
do_horz = TRUE;
break;
case 8: case 8:
do_vert = TRUE; do_vert = TRUE;
do_cave_horz = TRUE; do_cave_horz = TRUE;

Loading…
Cancel
Save