diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-02 18:24:46 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-02 18:24:46 +0100 |
| commit | 11fc04b238ff9d42b17e6befa6ab4a673606fc1a (patch) | |
| tree | cf4f48820fe3c55ed98c39038352924fab682ca8 /include/throwables.h | |
| parent | 0648e9ec83977fe5151896097afd1dbae3f4143b (diff) | |
throwables on server side
Diffstat (limited to 'include/throwables.h')
| -rw-r--r-- | include/throwables.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/throwables.h b/include/throwables.h index 714e66b..5e49c16 100644 --- a/include/throwables.h +++ b/include/throwables.h @@ -36,10 +36,10 @@ typedef struct t_throwable { vec3f grenade_explosion_size = (vec3f){2.0f, 2.0f, 2.0f}; -throwable throwables[500] = {0}; -int max_throwables = 500; +throwable throwables[50] = {0}; +int max_throwables = 50; -void throw_throwable(platform_window* window, u32 id, throwable_type type, float dirx, float diry); +void throw_throwable(u32 id, throwable_type type, float dirx, float diry); void draw_throwables(platform_window* window); #endif
\ No newline at end of file |
