X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.c;h=bf1a5801da4415454e141c7d542326fd2414720e;hb=83592cbfd2ab1085598249a09ef257769cc92448;hp=3ba64eb0f38881808be33c5c0311665423bce99d;hpb=6e96ba64e805ea8a39ca46171e28426c6bc86ab6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.c b/player.c index 3ba64eb..bf1a580 100644 --- a/player.c +++ b/player.c @@ -128,7 +128,6 @@ static void player__pass_gate( u32 id ){ world_routes_fracture( world, gate, localplayer.rb.co, localplayer.rb.v ); localplayer.gate_waiting = gate; - world_routes_activate_entry_gate( world_current_instance(), gate ); struct player_cam_controller *cc = &localplayer.cam_control; m4x3_mulv( gate->transport, cc->tpv_lpf, cc->tpv_lpf ); @@ -148,6 +147,8 @@ static void player__pass_gate( u32 id ){ world_static.active_instance = gate->target; player__clean_refs(); } + else + world_routes_activate_entry_gate( world, gate ); v3f v0; v3_angles_vector( localplayer.angles, v0 );