From ca9f842d887204eba6bfbf8b3a971925a0254fb2 Mon Sep 17 00:00:00 2001 From: hgn Date: Wed, 15 Nov 2023 05:42:11 +0000 Subject: [PATCH] wrong #define --- world_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world_load.c b/world_load.c index f907a2b..f1308c1 100644 --- a/world_load.c +++ b/world_load.c @@ -101,7 +101,7 @@ static void world_instance_load_mdl( u32 instance_id, const char *path ){ for( u32 i=0; ient_route ); i ++ ){ struct leaderboard_cache *board = &world->leaderboard_cache[i]; - board->data = vg_linear_alloc( heap, NETWORK_LEADERBOARD_MAX_SIZE ); + board->data = vg_linear_alloc( heap, NETWORK_REQUEST_MAX ); board->status = k_request_status_client_error; board->cache_time = 0.0; board->data_len = 0; -- 2.25.1