From db0e4bcfe0bcf99d5d21e74e0a1ccc0fc6977a26 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Apr 2020 14:29:47 +0200 Subject: Weapons have different velocities --- inc/cub3d_structs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 8d22b86..4666cf9 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -133,6 +133,7 @@ typedef struct s_player uint8_t has_weapon[3]; int8_t handles_weapon; int16_t ammo[3]; + float weap_vel[3]; } t_player; typedef struct s_ray -- cgit v1.2.3