summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index fca5cf0..75b58d2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/08 14:14:13 by dkaiser #+# #+# */
-/* Updated: 2024/05/15 17:31:46 by dkaiser ### ########.fr */
+/* Updated: 2024/05/29 14:58:22 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,6 +20,8 @@ int main(int argc, char *argv[])
return (1);
if (load_map_from_file(&game.map, argv[1]))
return (1);
+ if (check_map(&game.map))
+ return (1);
init(&game);
draw_walls(&game);
draw_exit(&game);