From 768b140f6659e6e110d37a7f8557c3da3669155b Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Wed, 18 Mar 2020 22:35:26 +0100 Subject: fatfingers master --- src/ft_draw_traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_draw_traps.c') diff --git a/src/ft_draw_traps.c b/src/ft_draw_traps.c index abde37e..f1acc20 100644 --- a/src/ft_draw_traps.c +++ b/src/ft_draw_traps.c @@ -41,7 +41,7 @@ void int32_t it; it = 0; - while (it < cl->mlist.sprite_nbr) + while (it < cl->mlist.traps_nbr) { dist_tab[it] = ((cl->plist.pos_x - cl->traps[it].s_pos_x) * (cl->plist.pos_x - cl->traps[it].s_pos_x) + -- cgit v1.2.3