Advertisement
Vultraz

Untitled

Sep 1st, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1.     static bool execute(ng::create_engine& create_engine, CVideo& video)
  2.     {
  3.         using mod_type = ng::create_engine::extras_metadata_ptr;
  4.    
  5.         std::vector<mod_type> activemods = create_engine.active_mods_data();
  6.         if(activemods.empty() || std::any_of(activemods.begin(), activemods.end(), [](mod_type& mod) {
  7.             return !(*mod->cfg).has_child("options");
  8.         })) {
  9.             return false;
  10.         }
  11.  
  12.         return tsp_options_configure(create_engine).show(video);
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement