From 9967f9792bf4c828dd805a8e65cf20aabcf05f31 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 26 Mar 2020 14:33:15 +0100 Subject: important bug fix --- src/ft_draw_sprite.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index 423080d..19ceb9f 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -52,6 +52,7 @@ void (cl->plist.pos_x - cl->sprites[jt][it].s_pos_x) + (cl->plist.pos_y - cl->sprites[jt][it].s_pos_y) * (cl->plist.pos_y - cl->sprites[jt][it].s_pos_y)); + cl->mlist.sprite_order[jt][it] = it; } it = -1; } -- cgit v1.2.3