X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=603e98a8b6281c85ab4c91d5487fbd65aeacf387;hb=219e917c414052ad3adbb4e9a652b55757a7b6a9;hp=50939ae270019e8cbfcbd39f68e0478ae635ee96;hpb=7fb47c3eb672f4468da8b5b452c09d44e1389d5f;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index 50939ae..603e98a 100644 --- a/skaterift.c +++ b/skaterift.c @@ -360,6 +360,7 @@ VG_STATIC void render_scene_gate_subview(void) { render_fb_bind( gpipeline.fb_main, 1 ); world_instance *view_world = localplayer.viewable_world; + if( !view_world ) return; /* ??? */ int depth = 1; if( localplayer.gate_waiting ) depth = 0;