X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_objective.c;fp=ent_objective.c;h=ce5ad0f2168c9067d504a0ca8cc17d4f05b0c8c8;hb=8837dd6bdac03ce5fd87b470d22c01a56373ed89;hp=97e33d8cb5c54caf922fc167348a3b595c6f10eb;hpb=fbc68c65e01838feb77f47b30994b45fcc39ebaf;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_objective.c b/ent_objective.c index 97e33d8..ce5ad0f 100644 --- a/ent_objective.c +++ b/ent_objective.c @@ -44,23 +44,7 @@ static void ent_objective_pass( world_instance *world, entity_call( world, &call ); } - u32 world_completed = 1; - for( u32 i=0; ient_challenge); i++ ){ - ent_challenge *challenge = mdl_arritm( &world->ent_challenge, i ); - if( !challenge->status ){ - world_completed = 0; - break; - } - } - - if( world_completed ){ - const char *understate = "Understate DIY park"; - if( mdl_pstreq( &world->meta, world->info.pstr_name, - understate, vg_strdjb2( understate ))){ - steam_set_achievement( "CITY_COMPLETE" ); - steam_store_achievements(); - } - } + ent_region_re_eval( world ); } }