the route strips are back
[carveJwlIkooP6JGAAIwe30JlM.git] / world_load.c
index 18f405e03735e2cd3ac5caf7fe010c0a26488c08..379a7de3ee60049999f69401b65af7819a44df5b 100644 (file)
@@ -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();
 }