mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
fix: Reverted base weapon to the base gun
This commit is contained in:
parent
3a1ee2fb3d
commit
6158618d36
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/08/06 11:29:14 by kcolin #+# #+# */
|
/* 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->health = 100;
|
||||||
player->points = 500;
|
player->points = 500;
|
||||||
ft_bzero(player->perk_order, 3);
|
ft_bzero(player->perk_order, 3);
|
||||||
player->weapon = data->weaponsregistry[1];
|
player->weapon = data->weaponsregistry[0];
|
||||||
if (dir == 'N' || dir == 'S')
|
if (dir == 'N' || dir == 'S')
|
||||||
init_lon(player, dir);
|
init_lon(player, dir);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue