From 007153906d47280525284e594bd058a605b90621 Mon Sep 17 00:00:00 2001 From: Tanguy MAZE Date: Wed, 17 Jul 2019 12:00:18 +0200 Subject: [PATCH] il faut sauver le logo Corewar vm was not able to fetch visualizer logo --- srcs/srcs_vm/cw_init_ncurs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/srcs_vm/cw_init_ncurs.c b/srcs/srcs_vm/cw_init_ncurs.c index 7accae6..2162373 100644 --- a/srcs/srcs_vm/cw_init_ncurs.c +++ b/srcs/srcs_vm/cw_init_ncurs.c @@ -18,7 +18,7 @@ static int print_logo(t_vm *vm) char buf[ART_MAX_SIZE + 1]; int rd; - fd = open("./art/corewar_3D_logo.txt", O_RDONLY); + fd = open("./srcs/art/corewar_3D_logo.txt", O_RDONLY); if ((rd = read(fd, &buf, ART_MAX_SIZE)) == -1) { destroy_ncurses_exit(vm);