aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-29 17:08:57 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-29 17:08:57 +0200
commitf51e891abeb7459a236e5b74d3a864834c5c8a80 (patch)
tree10ed971676aa07d8b1bbf895a27b4f9b9553b25a
parentlitteral god (diff)
download42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.gz
42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.bz2
42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.xz
42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.tar.zst
42-cub3d-f51e891abeb7459a236e5b74d3a864834c5c8a80.zip
The greatest
-rw-r--r--src/ft_sort_s_t.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ft_sort_s_t.c b/src/ft_sort_s_t.c
index 00627e5..433fd07 100644
--- a/src/ft_sort_s_t.c
+++ b/src/ft_sort_s_t.c
@@ -114,13 +114,11 @@ static void
{
j = -1;
while (++j < 4)
+ {
tmp[j] = cl->big_t[i][j];
- j = -1;
- while (++j < 4)
cl->big_t[i][j] = cl->big_t[i + 1][j];
- j = -1;
- while (++j < 4)
cl->big_t[i + 1][j] = tmp[j];
+ }
i = -1;
}
i++;