fix: Reverted base weapon to the base gun

This commit is contained in:
Theo Champion 2025-10-07 12:51:38 +02:00
parent 3a1ee2fb3d
commit 6158618d36

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/08/06 11:29:14 by kcolin #+# #+# */
/* Updated: 2025/09/18 12:06:58 by tchampio ### ########.fr */
/* Updated: 2025/10/07 12:49:37 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -64,7 +64,7 @@ void init_player(t_cub3d_data *data, t_player *player, t_mapdata *map)
player->health = 100;
player->points = 500;
ft_bzero(player->perk_order, 3);
player->weapon = data->weaponsregistry[1];
player->weapon = data->weaponsregistry[0];
if (dir == 'N' || dir == 'S')
init_lon(player, dir);
else