aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 00:16:36 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 00:16:36 +0100
commit3ebd8ba2bd2302327932d877ef8b797793a67542 (patch)
tree0a45b7f6bf98eab0895d71ac85b29413ab707be3 /inc/cub3d_structs.h
parentI think we good (diff)
download42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.gz
42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.bz2
42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.xz
42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.zst
42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.zip
Cool
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;