diff options
Diffstat (limited to 'include/players.h')
| -rw-r--r-- | include/players.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/players.h b/include/players.h index cd7560f..ea12a96 100644 --- a/include/players.h +++ b/include/players.h @@ -19,12 +19,12 @@ typedef struct t_player { float gun_height; } player; -int my_id = 1; +u32 my_id = 1; int max_players = 10; player players[10] = {0}; -player get_player_by_id(int id); +player* get_player_by_id(u32 id); void draw_players_at_tile(platform_window* window, int x, int y); void draw_bullets(platform_window* window); float get_player_size(platform_window* window); |
