foliage windy shader
[carveJwlIkooP6JGAAIwe30JlM.git] / world_load.c
index 586b804bdab166092747c428bbfd0c78ac3e331f..3dce0288024f76612b89a65502d1d5b60ceef2b2 100644 (file)
@@ -45,6 +45,8 @@ static void world_instance_load_mdl( u32 instance_id, const char *path ){
    mdl_load_animation_block( meta, world->heap );
    mdl_load_mesh_block( meta, world->heap );
 
+   vg_info( "%u\n", sizeof(ent_cubemap) );
+
    MDL_LOAD_ARRAY( meta, &world->ent_gate,      ent_gate,       heap );
    MDL_LOAD_ARRAY( meta, &world->ent_camera,    ent_camera,     heap );
    MDL_LOAD_ARRAY( meta, &world->ent_spawn,     ent_spawn,      heap );
@@ -88,6 +90,7 @@ static void world_instance_load_mdl( u32 instance_id, const char *path ){
       world->info.pstr_desc = 0;
       world->info.pstr_name = 0;
       world->info.timezone = 0.0f;
+      world->info.flags = 0;
    }
 
    time_t seconds = time(NULL) % ((u32)vg_maxf(1.0f,k_day_length)*60);