X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_entity.c;h=88e0e7e1a240815bc38bde6606efa077f919d09d;hb=b440efbe5785d114d08bb3f5ec0e09cad943006d;hp=40d6d78a58acc7684fca56ee8495e35df4673320;hpb=1a194c3888293733939b2dd944251ae1b6c398ce;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_entity.c b/world_entity.c index 40d6d78..88e0e7e 100644 --- a/world_entity.c +++ b/world_entity.c @@ -182,16 +182,8 @@ void world_gen_entities_init( world_instance *world ) light->angle_sin_cos[1] = cosf( light->angle * 0.5f ); } - /* gates */ - for( u32 j=0; jent_gate); j ++ ){ - ent_gate *gate = mdl_arritm( &world->ent_gate, j ); - - if( !(gate->flags & k_ent_gate_nonlocal) ) { - gate_transform_update( gate ); - } - } - - vg_async_call( world_link_nonlocal_async, world, 0 ); + vg_async_call( world_link_gates_async, world, 0 ); + vg_async_stall(); /* water */ for( u32 j=0; jent_water); j++ ){