X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.c;h=ab393197b29b374df31e39813dcbf4d66210f8ae;hb=6ab4435fb19beb6af6c52691793d5ca17a120f69;hp=b67e050abd8807c832b1cc4fa0cd86f5025acc7a;hpb=da1a0abc0c32b4283746949ba9a135a7d3c0b82c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.c b/player.c index b67e050..ab39319 100644 --- a/player.c +++ b/player.c @@ -164,7 +164,7 @@ void player__pass_gate( player_instance *player, ent_gate *gate ) m4x3_mulv( gate->transport, player->cam.pos, player->cam.pos ); - if( gate->type == k_gate_type_nonlocel ) + if( gate->flags & k_ent_gate_nonlocal ) world_static.active_world = gate->target; audio_lock();