diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-10-27 21:01:21 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-10-27 21:01:21 +0200 |
| commit | 641f81317a5b5cea6b3c5a4c65b1ca4313b0d8c0 (patch) | |
| tree | 391bb0b6536ca2247a371f16a44249b8a5f963d6 /src/game.c | |
| parent | 9d0bb9f229155546fde8b4f666d2682ad5ac606f (diff) | |
audio, add throwable
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -189,6 +189,7 @@ void update_server(platform_window* window) { update_zombies_server(window); broadcast_zombies = platform_get_time(TIME_FULL, TIME_NS) - broadcast_zombies; + update_throwables_server(window); broadcast_stamp = platform_get_time(TIME_FULL, TIME_NS); broadcast_to_clients(create_protocol_user_list()); @@ -277,6 +278,7 @@ void update_client(platform_window* window) { void update_game(platform_window* window) { clear_bullets(); + clear_throwables(); if (global_state.server) { update_server(window); @@ -295,6 +297,7 @@ void update_game(platform_window* window) { draw_zombie_chunks(window); draw_drops(window); draw_bullets(window); + draw_throwables(window); #ifdef MODE_DEBUG if (!is_editing_map) |
