X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_load.c;h=01fa9cc6da2a6796b11f2d5a9bf4e048b69e3112;hb=7eba38b8178c82040618a518634d8ff4813e2ff2;hp=9ca847c85d191f09707a7bd6a2fca92e38307b0f;hpb=a1b878e2cdbf145b59d611b5060d3c1a1a80d017;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_load.c b/world_load.c index 9ca847c..01fa9cc 100644 --- a/world_load.c +++ b/world_load.c @@ -84,8 +84,6 @@ VG_STATIC void world_load_mdl( const char *path ) world_gen_load_surfaces(); world_gen_routes_ent_init(); world_gen_entities_init(); - world->volume_bh = bh_create( heap, &bh_system_volumes, world, - mdl_arrcount( &world->ent_volume ), 1 ); /* main bulk */ world_gen_generate_meshes(); @@ -338,8 +336,8 @@ VG_STATIC void world_init_blank( world_instance *world ) world->surface_count = 0; world->geo_bh = NULL; - world->volume_bh = NULL; - world->audio_bh = NULL; + world->entity_bh = NULL; + world->entity_list = NULL; world->rendering_gate = NULL; world->water.enabled = 0;