+ }
+
+ if( active_challenge ){
+ shader_scene_fxglow_uUvOffset( (v2f){ 8.0f/256.0f, 0.0f } );
+ challenge_list[ challenge_count ++ ] = world_static.focused_entity;
+
+ u32 next = active_challenge->first;
+ while( mdl_entity_id_type(next) == k_ent_objective ){
+ u32 index = mdl_entity_id_id( next );
+ objective_list[ objective_count ++ ] = index;
+
+ ent_objective *objective = mdl_arritm( &world->ent_objective, index );
+ next = objective->id_next;
+ }
+
+ radius = 10000.0f;
+ }
+ else {
+ shader_scene_fxglow_uUvOffset( (v2f){ 0.0f, 0.0f } );
+ bh_iter it;
+ bh_iter_init_range( 0, &it, pos, radius+10.0f );
+ i32 idx;
+ while( bh_next( world->entity_bh, &it, &idx ) ){
+ u32 id = world->entity_list[ idx ],
+ type = mdl_entity_id_type( id ),
+ index = mdl_entity_id_id( id );
+
+ if( type == k_ent_objective ) {
+ if( objective_count < vg_list_size(objective_list) )
+ objective_list[ objective_count ++ ] = index;
+ }
+ else if( type == k_ent_challenge ){
+ if( challenge_count < vg_list_size(challenge_list) )
+ challenge_list[ challenge_count ++ ] = index;
+ }