X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=8b909d2e2450fb83b053d7f73c2f40dcf99ec6b1;hb=610907ae753bdda202236d52a6fcf77d14d63193;hp=303327706d5fde87471a435443fe6874b665fc07;hpb=d6171f1c56789b2ca79efa3313fbbf74a13bda7a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index 3033277..8b909d2 100644 --- a/skaterift.c +++ b/skaterift.c @@ -220,7 +220,7 @@ VG_STATIC void vg_load(void) vg_loader_step( world_init, NULL ); vg_loader_step( font3d_init, NULL ); - font3d_load( &test_font, "models/rs_font.mdl", vg_mem.rtmemory ); + font3d_load( &world_global.font, "models/rs_font.mdl", vg_mem.rtmemory ); //vg_loader_step( player_init, NULL ); //vg_loader_step( vehicle_init, NULL ); @@ -275,8 +275,7 @@ VG_STATIC void vg_update(void) { steam_update(); - if( vg.is_loaded ) - { + if( vg.is_loaded ){ draw_origin_axis(); network_update(); @@ -294,15 +293,14 @@ VG_STATIC void vg_update(void) VG_STATIC void vg_update_fixed(void) { - if( vg.is_loaded ) - { + if( vg.is_loaded ){ #if 0 if( !gzoomer.inside ) player_update_fixed(); vehicle_update_fixed(); #endif - + world_routes_fixedupdate( get_active_world() ); player__update( &localplayer ); } }