X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=3e3af2319df270f932a20c5e2a3d080f187da196;hb=da1a0abc0c32b4283746949ba9a135a7d3c0b82c;hp=9781920b88c596e41265a37b633c4b6651db38b8;hpb=f48c3935c01da796b7ecb011a42d6576788b7648;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index 9781920..3e3af23 100644 --- a/skaterift.c +++ b/skaterift.c @@ -13,7 +13,7 @@ #if 1 -#define SR_NETWORKED +//#define SR_NETWORKED #ifndef VG_RELEASE #define VG_DEVWINDOW @@ -480,12 +480,13 @@ VG_STATIC void skaterift_composite_maincamera(void){ } VG_STATIC void render_main_game(void){ - player__animate( &localplayer ); if( skaterift.activity == k_skaterift_replay ){ player__animate_from_replay( &localplayer, &skaterift.replay ); } - else + else{ + player__animate( &localplayer ); skaterift_record_frame( &skaterift.replay, 0 ); + } player__pre_render( &localplayer ); skaterift_composite_maincamera(); @@ -508,8 +509,6 @@ VG_STATIC void render_main_game(void){ it up with the oblique rendering inside the portals */ - world_render_challenges( localplayer.viewable_world ); - /* continue with variable rate */ render_scene_gate_subview();