From 24a44e57ab9adbb353adac8b83c4441e7adb3751 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 15 Dec 2022 20:51:04 +0100 Subject: work --- src/game.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 875a622..7bef631 100644 --- a/src/game.c +++ b/src/game.c @@ -18,7 +18,7 @@ void start_server(char* port) { } static u32 get_session_id() { - u32 time = platform_get_time(TIME_NS, TIME_FULL); + u64 time = platform_get_time(TIME_NS, TIME_FULL); return (((time * 2654435789U) + time) * 2654435789U) + platform_get_processid(); } @@ -249,10 +249,9 @@ void update_game(platform_window* window) { update_client(window); } - if (global_state.network_state == CONNECTED) { if (!global_state.server) { - update_zombies_client(window); + update_zombies_client(window); // move to update_client? } take_player_input(window); -- cgit v1.2.3-70-g09d2