aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index babf3be..380b7f4 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -135,6 +135,7 @@ typedef struct s_player
int16_t life;
uint8_t has_weapon[3];
int8_t handles_weapon;
+ int16_t ammo[3];
} t_player;
typedef struct s_ray
@@ -214,7 +215,6 @@ typedef struct s_map
uint8_t isskybox;
uint8_t istraps;
uint8_t isheals;
- uint8_t isweapon[3];
uint8_t darklvl;
uint16_t scale;
int8_t topsp;