aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 19:22:15 +0100
committerRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 19:22:15 +0100
commitfb98fd19ba9e27eb3a169a7599ce41fb0877b7a6 (patch)
tree2185933c9bde571819dfd480b48aa66459a30b2e /src/main.c
parentSolid map is better (diff)
download42-cub3d-fb98fd19ba9e27eb3a169a7599ce41fb0877b7a6.tar.gz
42-cub3d-fb98fd19ba9e27eb3a169a7599ce41fb0877b7a6.tar.bz2
42-cub3d-fb98fd19ba9e27eb3a169a7599ce41fb0877b7a6.tar.xz
42-cub3d-fb98fd19ba9e27eb3a169a7599ce41fb0877b7a6.tar.zst
42-cub3d-fb98fd19ba9e27eb3a169a7599ce41fb0877b7a6.zip
Better code structure
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 39b5f7c..8dfac59 100644
--- a/src/main.c
+++ b/src/main.c
@@ -32,7 +32,7 @@ int
ft_parse_map(argv[1], clist);
if (ft_init_winlx(clist) < 0)
return (ft_exit(3, clist));
- ft_drawmap(clist);
+ ft_draw_scene(clist);
ft_hooks_and_loops(clist->wlist, clist);
return (0);
}