+static void world_default_spawn_pos( world_instance *world, v3f pos )
+{
+ ent_spawn *rp = world_find_spawn_by_name( world, "start" );
+ if( !rp ) rp = world_find_closest_spawn( world, (v3f){0,0,0} );
+ if( rp )
+ v3_copy( rp->transform.co, pos );
+ else
+ {
+ vg_error( "There are no valid spawns in the world\n" );
+ v3_zero( pos );
+ }
+}
+