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);
glDeleteTextures( 1, &world->tex_light_cubes );
/* delete textures and meshes */
- glDeleteTextures( world->texture_count, world->textures );
+ glDeleteTextures( world->texture_count-1, world->textures+1 );
u32 world_index = world - world_static.instances;
if( world_index ){