diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-30 17:46:28 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-30 17:46:28 +0200 |
commit | df8d32e84a60558c38a0d75496c82de657103648 (patch) | |
tree | 964706cdd49ea979e42eef21dfa6f5af4299a7ce /src/ft_big_t.c | |
parent | Commit (diff) | |
download | 42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.gz 42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.bz2 42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.xz 42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.tar.zst 42-cub3d-df8d32e84a60558c38a0d75496c82de657103648.zip |
It's moving!
Diffstat (limited to '')
-rw-r--r-- | src/ft_big_t.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_big_t.c b/src/ft_big_t.c index b4d7e52..5fe65c6 100644 --- a/src/ft_big_t.c +++ b/src/ft_big_t.c @@ -70,6 +70,7 @@ void { cl->big_t[i][0] = dist_tab[j][k]; cl->big_t[i][1] = (float)ft_set_current_sprite(cl, j); + cl->big_t[i][1] += (j == 13) ? (cl->bad_boy[k].does) : (0); cl->big_t[i][2] = (float)j; cl->big_t[i][3] = (float)k; k++; |