diff options
Diffstat (limited to 'src/2022/day22/aoc.cpp')
-rw-r--r-- | src/2022/day22/aoc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/2022/day22/aoc.cpp b/src/2022/day22/aoc.cpp index 91c1957..15a27c2 100644 --- a/src/2022/day22/aoc.cpp +++ b/src/2022/day22/aoc.cpp @@ -182,7 +182,7 @@ void cube_right(int s, person* p, cube_map** pcm); void cube_up(int s, person* p, cube_map** pcm) { if (s > 0) { - mark((*pcm)->x + p->x, (*pcm)->y + p->y, '^'); + // mark((*pcm)->x + p->x, (*pcm)->y + p->y, '^'); if (p->y > 0) { person p0{p->x, p->y - 1, p->f}; if (cube_get(&p0, *pcm) == '.') { @@ -214,7 +214,7 @@ void cube_up(int s, person* p, cube_map** pcm) { void cube_down(int s, person* p, cube_map** pcm) { if (s > 0) { - mark((*pcm)->x + p->x, (*pcm)->y + p->y, 'v'); + // mark((*pcm)->x + p->x, (*pcm)->y + p->y, 'v'); if (p->y < cube_map::size - 1) { person p0{p->x, p->y + 1, p->f}; if (cube_get(&p0, *pcm) == '.') { @@ -246,7 +246,7 @@ void cube_down(int s, person* p, cube_map** pcm) { void cube_left(int s, person* p, cube_map** pcm) { if (s > 0) { - mark((*pcm)->x + p->x, (*pcm)->y + p->y, '<'); + // mark((*pcm)->x + p->x, (*pcm)->y + p->y, '<'); if (p->x > 0) { person p0{p->x - 1, p->y, p->f}; if (cube_get(&p0, *pcm) == '.') { @@ -278,7 +278,7 @@ void cube_left(int s, person* p, cube_map** pcm) { void cube_right(int s, person* p, cube_map** pcm) { if (s > 0) { - mark((*pcm)->x + p->x, (*pcm)->y + p->y, '>'); + // mark((*pcm)->x + p->x, (*pcm)->y + p->y, '>'); if (p->x < cube_map::size - 1) { person p0{p->x + 1, p->y, p->f}; if (cube_get(&p0, *pcm) == '.') { |