X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_load.c;h=0c4e8ebb9989ecfa983224a5a5860142d5c2d974;hb=6eb7d6fbfc16c66c1d237a9d593730e75203695c;hp=4f5f8f4628fe242a7da595018420f1191690f24d;hpb=badfa88dd109bbae5628f58504402f4707569f73;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_load.c b/world_load.c index 4f5f8f4..0c4e8eb 100644 --- a/world_load.c +++ b/world_load.c @@ -58,6 +58,7 @@ VG_STATIC void world_load_mdl( const char *path ) mdl_load_array( meta, &world->ent_marker, "ent_marker", heap ); mdl_load_array( meta, &world->ent_skateshop, "ent_skateshop", heap ); mdl_load_array( meta, &world->ent_swspreview,"ent_swspreview", heap ); + mdl_load_array( meta, &world->ent_ccmd, "ent_ccmd", heap ); mdl_array_ptr infos; mdl_load_array( meta, &infos, "ent_worldinfo", vg_mem.scratch ); @@ -90,6 +91,7 @@ VG_STATIC void world_load_mdl( const char *path ) world_gen_routes_generate(); world_gen_compute_light_indices(); vg_async_call( async_world_postprocess_render, NULL, 0 ); + vg_async_stall(); mdl_close( meta ); world->status = k_world_status_loaded;