X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.c;h=51353b9a7e8492f70f803cd45463a0ce5d93fc9f;hb=610907ae753bdda202236d52a6fcf77d14d63193;hp=01a0b526bed5eac40cc619d48c83235029ddb075;hpb=e5dfbef890431a69291a9f0a9ca4a88ea8d0705a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.c b/player.c index 01a0b52..51353b9 100644 --- a/player.c +++ b/player.c @@ -291,6 +291,9 @@ VG_STATIC void gate_rotate_angles( ent_gate *gate, v3f angles, v3f d ) PLAYER_API void player__pass_gate( player_instance *player, ent_gate *gate ) { + world_routes_fracture( get_active_world(), gate, + player->rb.co, player->rb.v ); + player->gate_waiting = gate; world_routes_activate_entry_gate( get_active_world(), gate );