diff --git a/.gitignore b/.gitignore index 86c5021..c0c0200 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ a.out build/ *.o +vgscore* diff --git a/15/part2.c b/15/part2.c index edef544..5e9c9f5 100644 --- a/15/part2.c +++ b/15/part2.c @@ -41,8 +41,6 @@ int move_object(char ***map_t, int pos[], int move) { map[pos[0]][pos[1]] = '.'; } else { - map[new_pos[0]][new_pos[1]] = map[pos[0]][pos[1]]; - map[pos[0]][pos[1]] = '.'; } /*if (add_y != 0 && second == 0) { diff --git a/15/vgcore.20601 b/15/vgcore.20601 deleted file mode 100644 index 2e00f8b..0000000 Binary files a/15/vgcore.20601 and /dev/null differ