minor performance stuff
[carveJwlIkooP6JGAAIwe30JlM.git] / world_routes.c
index 00d29fdb3286cc40ac415b2133dc9a9d995fcb6d..3e21df0def867a4187f0c776aad3b2116747715e 100644 (file)
@@ -849,6 +849,8 @@ VG_STATIC void world_gen_routes_generate( u32 instance_id ){
 
    if( instance_id <= 1 /*world_loader.generate_point_cloud*/ ){
       f64 area = 0.0;
+
+#if VG_RELEASE
       area = world_routes_scatter_surface_points( world, pcbuf, 16.0f );
       world_routes_surface_grid( world, pcbuf );
 
@@ -859,8 +861,9 @@ VG_STATIC void world_gen_routes_generate( u32 instance_id ){
                                         2.0f, 50.0f, 128, 
                                         (v4f){0.2f,0.2f,0.2f,1.0f} );
       }
+#endif
 
-      vg_info( "Distrubuted %u points over %fkm^2!\n", 
+      vg_info( "Distributed %u points over %fkm^2!\n", 
                 pcbuf->count, area/1e6f );
 
       world_write_preview( instance_id? world_static.addon_client: