review: rigidbody.h
[carveJwlIkooP6JGAAIwe30JlM.git] / world_routes.c
index 56e6e4b6c8bbae9dbcb50e3208a845668385366e..8567cdb7cc580513f120737f6bb78d5a3bf8cf75 100644 (file)
@@ -178,7 +178,7 @@ VG_STATIC void world_routes_debug( world_instance *world )
 {
    for( u32 i=0; i<mdl_arrcount(&world->ent_route_node); i++ ){
       ent_route_node *rn = mdl_arritm(&world->ent_route_node,i);
-      vg_line_pt3( rn->co, 0.25f, VG__WHITE );
+      vg_line_point( rn->co, 0.25f, VG__WHITE );
    }
 
    for( u32 i=0; i<mdl_arrcount(&world->ent_route); i++ ){
@@ -774,7 +774,7 @@ VG_STATIC void world_write_preview( pointcloud_buffer *pcbuf ){
 
    if( world_loader.reg ){
       /* Don't want to override the one we get from the workshop */
-      if( world_loader.reg->workshop_id ) return;
+      if( world_loader.reg->alias.workshop_id ) return;
 
       addon_get_content_folder( world_loader.reg, &path );
    }