From 50759fcc4f3b939ad35254ce220c206056f3f31e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 23 Mar 2020 18:04:38 +0100 Subject: Fixed --- src/ft_suffer_animation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_suffer_animation.c') diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c index 51de24a..1b48e47 100644 --- a/src/ft_suffer_animation.c +++ b/src/ft_suffer_animation.c @@ -75,7 +75,7 @@ void rgb.g += 20; rgb.b += 20; *(int*)(cl->img.ptr + - (x * 4 + (y * cl->img.sizeline))) = ft_rgb_to_hex(rgb); + (x * 4 + (y * cl->img.sizeline))) = ft_rgb_to_hex(0, rgb, cl); } } ft_get_damaged(cl); -- cgit v1.2.3