diff options
-rw-r--r-- | map/lvl_one.cub | 2 | ||||
-rw-r--r-- | map/map_one.cub | 2 | ||||
-rw-r--r-- | map/map_two.cub | 2 | ||||
-rw-r--r-- | src/ft_free_words.c | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/map/lvl_one.cub b/map/lvl_one.cub index 2996918..5a73e65 100644 --- a/map/lvl_one.cub +++ b/map/lvl_one.cub @@ -10,7 +10,7 @@ C ./media/img/BRIQUASSE_3.xpm F ./media/img/BRIQUASSE_3.xpm T media/img/spikes.xpm -SH 1 +SH 4 L ./map/lvl_two.cub LT ./media/img/crapaud.xpm diff --git a/map/map_one.cub b/map/map_one.cub index 61ae184..43c6ab5 100644 --- a/map/map_one.cub +++ b/map/map_one.cub @@ -18,7 +18,7 @@ S7 ./media/img/linuz.xpm T ./media/img/spikes.xpm -SH 4 +SH 1 111111111111111111 100000600002000001 1000E0T00300000001 diff --git a/map/map_two.cub b/map/map_two.cub index 8e4607f..0d3b1ff 100644 --- a/map/map_two.cub +++ b/map/map_two.cub @@ -5,6 +5,8 @@ SO ./media/img/linuz.xpm EA ./media/img/linuz.xpm WE ./media/img/linuz.xpm S ./media/img/pillar.xpm +S3 ./media/img/pillar.xpm +S4 ./media/img/pillar.xpm SH 5 C ./media/img/arrow1.xpm diff --git a/src/ft_free_words.c b/src/ft_free_words.c index 648706c..a90b959 100644 --- a/src/ft_free_words.c +++ b/src/ft_free_words.c @@ -33,7 +33,7 @@ uint8_t size_t i; i = 0; - while (words[i] && words[i][0]) + while (words[i]) { ft_memdel((void**)&words[i]); i++; |