Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jun 8, 2014
1 parent f7c34df commit bbcae1c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/savegame.hpp
Expand Up @@ -61,16 +61,6 @@ class loadgame
bool show_replay() const { return show_replay_; }
bool cancel_orders() const { return cancel_orders_; }
const std::string & filename() const { return filename_; }

std::string get_difficulty() const
{ return load_config_["difficulty"].empty() ? DEFAULT_DIFFICULTY : load_config_["difficulty"].str(); }
/*
{ if ( const config & carryover = load_config_.child("carryover_sides_start") )
return carryover["difficulty"];
else
return DEFAULT_DIFFICULTY;
}
*/
private:
/** Display the load-game dialog. */
void show_dialog(bool show_replay, bool cancel_orders);
Expand Down

0 comments on commit bbcae1c

Please sign in to comment.