diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-20 04:56:11 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-20 04:56:11 +0100 |
commit | c51b1fb82dbcc90a923375e31a23e963e5161f08 (patch) | |
tree | 082f6a470723dc673da3666cce791da67f1df5ac /src/ft_get_player_spawn.c | |
parent | Norme (diff) | |
parent | asd works cool (diff) | |
download | 42-cub3d-c51b1fb82dbcc90a923375e31a23e963e5161f08.tar.gz 42-cub3d-c51b1fb82dbcc90a923375e31a23e963e5161f08.tar.bz2 42-cub3d-c51b1fb82dbcc90a923375e31a23e963e5161f08.tar.xz 42-cub3d-c51b1fb82dbcc90a923375e31a23e963e5161f08.tar.zst 42-cub3d-c51b1fb82dbcc90a923375e31a23e963e5161f08.zip |
Merge branch 'textures_fix'
Diffstat (limited to 'src/ft_get_player_spawn.c')
-rw-r--r-- | src/ft_get_player_spawn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c index f5d2c87..e1f313e 100644 --- a/src/ft_get_player_spawn.c +++ b/src/ft_get_player_spawn.c @@ -84,6 +84,8 @@ void { plist->pos_x = x + 0.5; plist->pos_y = y + 0.5; + plist->start_x = plist->pos_x; + plist->start_y = plist->pos_y; ft_get_start_side(clist->mlist->map[y][x], clist->plist); return ; } |