Remove subgame check

This commit is contained in:
Maksim Gamarnik 2016-09-18 03:22:22 +03:00
parent 94fe1d3d79
commit aff0e2fec7
1 changed files with 1 additions and 9 deletions

View File

@ -704,19 +704,11 @@ static std::string get_clean_world_path(const std::string &path)
static bool game_configure_subgame(GameParams *game_params, const Settings &cmd_args) static bool game_configure_subgame(GameParams *game_params, const Settings &cmd_args)
{ {
bool success; bool success;
#if 0
success = get_game_from_cmdline(game_params, cmd_args); success = get_game_from_cmdline(game_params, cmd_args);
if (!success) if (!success)
success = determine_subgame(game_params); success = determine_subgame(game_params);
#else
SubgameSpec gamespec;
gamespec = findSubgame("default");
success = gamespec.isValid();
if (!success) {
errorstream << "Game files not found!" << std::endl;
}
#endif
return success; return success;
} }