X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_load.c;h=379a7de3ee60049999f69401b65af7819a44df5b;hb=810a45773a2ade051c5ffb50321dab89bd2a45e9;hp=18f405e03735e2cd3ac5caf7fe010c0a26488c08;hpb=cab063a27c067f6b5387305fe358c94fc7793f45;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_load.c b/world_load.c index 18f405e..379a7de 100644 --- a/world_load.c +++ b/world_load.c @@ -128,6 +128,9 @@ static void world_instance_load_mdl( u32 instance_id, const char *path ){ board->data_len = 0; } + world->routes_ui = vg_linear_alloc( heap, + sizeof(struct route_ui)*mdl_arrcount(&world->ent_route) ); + vg_async_call( async_world_postprocess, world, 0 ); vg_async_stall(); }